Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 don't return hlim when asked for multicast loop...



details:   https://anonhg.NetBSD.org/src/rev/a00ed8d40b82
branches:  trunk
changeset: 784320:a00ed8d40b82
user:      kefren <kefren%NetBSD.org@localhost>
date:      Fri Jan 25 10:33:53 2013 +0000

description:
don't return hlim when asked for multicast loop flag

diffstat:

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

diffs (27 lines):

diff -r 84a3db8a8d11 -r a00ed8d40b82 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Fri Jan 25 08:52:16 2013 +0000
+++ b/sys/netinet6/ip6_output.c Fri Jan 25 10:33:53 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_output.c,v 1.150 2012/07/21 14:52:40 gdt Exp $     */
+/*     $NetBSD: ip6_output.c,v 1.151 2013/01/25 10:33:53 kefren Exp $  */
 /*     $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $    */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.150 2012/07/21 14:52:40 gdt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.151 2013/01/25 10:33:53 kefren Exp $");
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -2554,7 +2554,7 @@
 
        case IPV6_MULTICAST_LOOP:
                if (im6o == NULL)
-                       optval = ip6_defmcasthlim;
+                       optval = IPV6_DEFAULT_MULTICAST_LOOP;
                else
                        optval = im6o->im6o_multicast_loop;
 



Home | Main Index | Thread Index | Old Index