diff options
author | joe <joe@FreeBSD.org> | 2001-12-13 02:08:55 +0800 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-12-13 02:08:55 +0800 |
commit | cc078241c94030b23b3b68ce0e87a40b9ae90de9 (patch) | |
tree | 9de06d1356c25bcc99683bc7fde585dfae9a25ef /net/zebra | |
parent | d134c0a17d10951bf934d69d2583b676591b60ab (diff) | |
download | freebsd-ports-graphics-cc078241c94030b23b3b68ce0e87a40b9ae90de9.tar.gz freebsd-ports-graphics-cc078241c94030b23b3b68ce0e87a40b9ae90de9.tar.zst freebsd-ports-graphics-cc078241c94030b23b3b68ce0e87a40b9ae90de9.zip |
Fix the use of ipv6 addresses on interfaces. (Submitted to the zebra
folk for the next release).
Submitted by: Armin Arh <armin@schlund.de>
Diffstat (limited to 'net/zebra')
-rw-r--r-- | net/zebra/files/patch-ioctl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/zebra/files/patch-ioctl.c b/net/zebra/files/patch-ioctl.c new file mode 100644 index 00000000000..2c06a9b189e --- /dev/null +++ b/net/zebra/files/patch-ioctl.c @@ -0,0 +1,12 @@ +--- zebra/ioctl.c.orig Wed Dec 12 18:02:16 2001 ++++ zebra/ioctl.c Wed Dec 12 18:02:30 2001 +@@ -478,6 +478,9 @@ + mask.sin6_len = sizeof (struct sockaddr_in6); + #endif + memcpy (&addreq.ifra_prefixmask, &mask, sizeof (struct sockaddr_in6)); ++ ++ addreq.ifra_lifetime.ia6t_vltime = 0xffffffff; ++ addreq.ifra_lifetime.ia6t_pltime = 0xffffffff; + + ret = if_ioctl_ipv6 (SIOCAIFADDR_IN6, (caddr_t) &addreq); + if (ret < 0) |