From fdc9421ae2338e60114b0c7125bc5f8069a402dc Mon Sep 17 00:00:00 2001 From: Bernd Eckenfels Date: Tue, 10 Dec 2002 01:03:09 +0000 Subject: [PATCH] use [::]:port as wildcard ipv6 address instead of *:port --- lib/inet6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/inet6.c b/lib/inet6.c index 5d1c4f8..9a484a0 100644 --- a/lib/inet6.c +++ b/lib/inet6.c @@ -3,7 +3,7 @@ * support functions for the net-tools. * (most of it copied from lib/inet.c 1.26). * - * Version: $Id: inet6.c,v 1.11 2001/08/26 05:25:21 ak Exp $ + * Version: $Id: inet6.c,v 1.12 2002/12/10 01:03:09 ecki Exp $ * * Author: Fred N. van Kempen, * Copyright 1993 MicroWalt Corporation @@ -105,7 +105,7 @@ static int INET6_rresolve(char *name, struct sockaddr_in6 *sin6, int numeric) if (numeric & 0x8000) strcpy(name, "default"); else - strcpy(name, "*"); + strcpy(name, "[::]"); return (0); } -- 2.7.4