diff options
author | hrs <hrs@FreeBSD.org> | 2011-06-05 11:37:20 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-06-05 11:37:20 +0000 |
commit | ec6800874c7307f498cdf214f2d590ff86805f4d (patch) | |
tree | 2509b309d5d17a9add4768534e62e802e2d65797 /sbin/ifconfig/af_inet6.c | |
parent | 1bda0775e224f5ce77c828d17f3c2609da277c0a (diff) | |
download | FreeBSD-src-ec6800874c7307f498cdf214f2d590ff86805f4d.zip FreeBSD-src-ec6800874c7307f498cdf214f2d590ff86805f4d.tar.gz |
Add the "nd6 options" line handler as af_other_status() of AF_INET6, not as an
own address family.
Reviewed by: bz
Diffstat (limited to 'sbin/ifconfig/af_inet6.c')
-rw-r--r-- | sbin/ifconfig/af_inet6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ifconfig/af_inet6.c b/sbin/ifconfig/af_inet6.c index 2337c34..93b0e58 100644 --- a/sbin/ifconfig/af_inet6.c +++ b/sbin/ifconfig/af_inet6.c @@ -69,6 +69,7 @@ static int explicit_prefix = 0; extern void setnd6flags(const char *, int, int, const struct afswtch *); extern void setnd6defif(const char *, int, int, const struct afswtch *); +extern void nd6_status(int); static char addr_buf[MAXHOSTNAMELEN *2 + 1]; /*for getnameinfo()*/ @@ -519,6 +520,7 @@ static struct afswtch af_inet6 = { .af_status = in6_status, .af_getaddr = in6_getaddr, .af_getprefix = in6_getprefix, + .af_other_status = nd6_status, .af_postproc = in6_postproc, .af_status_tunnel = in6_status_tunnel, .af_settunnel = in6_set_tunnel, |