summaryrefslogtreecommitdiffstats
path: root/freebsd/sbin/ifconfig/af_nd6.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sbin/ifconfig/af_nd6.c')
-rw-r--r--freebsd/sbin/ifconfig/af_nd6.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/freebsd/sbin/ifconfig/af_nd6.c b/freebsd/sbin/ifconfig/af_nd6.c
index 1d9bdd73..964c96b0 100644
--- a/freebsd/sbin/ifconfig/af_nd6.c
+++ b/freebsd/sbin/ifconfig/af_nd6.c
@@ -69,9 +69,17 @@ static const char rcsid[] =
#endif /* __rtems__ */
#define MAX_SYSCTL_TRY 5
+#ifdef DRAFT_IETF_6MAN_IPV6ONLY_FLAG
+#define ND6BITS "\020\001PERFORMNUD\002ACCEPT_RTADV\003PREFER_SOURCE" \
+ "\004IFDISABLED\005DONT_SET_IFROUTE\006AUTO_LINKLOCAL" \
+ "\007NO_RADR\010NO_PREFER_IFACE\011NO_DAD" \
+ "\012IPV6_ONLY" \
+ "\020DEFAULTIF"
+#else
#define ND6BITS "\020\001PERFORMNUD\002ACCEPT_RTADV\003PREFER_SOURCE" \
"\004IFDISABLED\005DONT_SET_IFROUTE\006AUTO_LINKLOCAL" \
"\007NO_RADR\010NO_PREFER_IFACE\011NO_DAD\020DEFAULTIF"
+#endif
static int isnd6defif(int);
void setnd6flags(const char *, int, int, const struct afswtch *);