diff options
author | ume <ume@FreeBSD.org> | 2004-02-13 14:50:01 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-02-13 14:50:01 +0000 |
commit | f35565e63f9461f81b17f432764b5ca25e02856c (patch) | |
tree | f952cbefcf8a041f874d6e06257be2836aede356 /sys/netinet6/raw_ip6.c | |
parent | 326680c1492004585de0fab05ad78cb474e6f539 (diff) | |
download | FreeBSD-src-f35565e63f9461f81b17f432764b5ca25e02856c.zip FreeBSD-src-f35565e63f9461f81b17f432764b5ca25e02856c.tar.gz |
supported IPV6_RECVPATHMTU socket option.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 56f3758..00205ff 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -278,6 +278,7 @@ rip6_ctlinput(cmd, sa, d) int off = 0; struct ip6ctlparam *ip6cp = NULL; const struct sockaddr_in6 *sa6_src = NULL; + void *cmdarg; struct inpcb *(*notify) __P((struct inpcb *, int)) = in6_rtchange; if (sa->sa_family != AF_INET6 || @@ -299,15 +300,17 @@ rip6_ctlinput(cmd, sa, d) m = ip6cp->ip6c_m; ip6 = ip6cp->ip6c_ip6; off = ip6cp->ip6c_off; + cmdarg = ip6cp->ip6c_cmdarg; sa6_src = ip6cp->ip6c_src; } else { m = NULL; ip6 = NULL; + cmdarg = NULL; sa6_src = &sa6_any; } (void) in6_pcbnotify(&ripcb, sa, 0, (const struct sockaddr *)sa6_src, - 0, cmd, notify); + 0, cmd, cmdarg, notify); } /* |