Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/netinet6 Pull up revision 1.54 via patch (requested...



details:   https://anonhg.NetBSD.org/src/rev/526af770c025
branches:  netbsd-1-6
changeset: 530793:526af770c025
user:      tron <tron%NetBSD.org@localhost>
date:      Thu Oct 02 20:29:06 2003 +0000

description:
Pull up revision 1.54 via patch (requested by itojun in ticket #1491):
sync with latest KAME in6_ifaddr/prefix/default router manipulation.
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
  use sysctl path instead.
- lo0 does not get ::1 automatically.  it will get ::1 when lo0 comes up.

diffstat:

 sys/netinet6/ip6_output.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 408a015cf0d8 -r 526af770c025 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Thu Oct 02 20:21:48 2003 +0000
+++ b/sys/netinet6/ip6_output.c Thu Oct 02 20:29:06 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_output.c,v 1.44.4.2 2002/10/13 22:39:05 lukem Exp $        */
+/*     $NetBSD: ip6_output.c,v 1.44.4.3 2003/10/02 20:29:06 tron Exp $ */
 /*     $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $    */
 
 /*
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.44.4.2 2002/10/13 22:39:05 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.44.4.3 2003/10/02 20:29:06 tron Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -429,7 +429,7 @@
 
        /* Source address validation */
        if (IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src) &&
-           (flags & IPV6_DADOUTPUT) == 0) {
+           (flags & IPV6_UNSPECSRC) == 0) {
                error = EOPNOTSUPP;
                ip6stat.ip6s_badscope++;
                goto bad;



Home | Main Index | Thread Index | Old Index