diff options
author | Bernd Eckenfels <net-tools@lina.inka.de> | 2002-12-10 01:03:09 +0000 |
---|---|---|
committer | Bernd Eckenfels <net-tools@lina.inka.de> | 2002-12-10 01:03:09 +0000 |
commit | fdc9421ae2338e60114b0c7125bc5f8069a402dc (patch) | |
tree | 0fc8b9adf489a3b61893b43970b603f96ece9170 | |
parent | change confusing "*" into "<from_interface>" (diff) | |
download | net-tools-fdc9421ae2338e60114b0c7125bc5f8069a402dc.tar.gz net-tools-fdc9421ae2338e60114b0c7125bc5f8069a402dc.tar.bz2 net-tools-fdc9421ae2338e60114b0c7125bc5f8069a402dc.zip |
use [::]:port as wildcard ipv6 address instead of *:port
-rw-r--r-- | lib/inet6.c | 4 |
1 files 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, <waltje@uwalt.nl.mugnet.org> * 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); } |