diff options
author | ume <ume@FreeBSD.org> | 2013-01-09 18:18:08 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2013-01-09 18:18:08 +0000 |
commit | e33acd92c323d70e5d6df57f002fc99962711614 (patch) | |
tree | d47e3ff0e4eea1ed47efa711fb58f1061db36182 /sbin/ifconfig/af_nd6.c | |
parent | dc876f51b7413aaa22e802a6b7fd911229c8f410 (diff) | |
download | FreeBSD-src-e33acd92c323d70e5d6df57f002fc99962711614.zip FreeBSD-src-e33acd92c323d70e5d6df57f002fc99962711614.tar.gz |
Add no_prefer_iface option.
It stops treating the address on the interface as special by source
address selection rule even when the interface is outgoing interface.
This is desired in some situation.
Requested by: hrs
Reviewed by: IHANet folks including hrs
MFC after: 1 week
Diffstat (limited to 'sbin/ifconfig/af_nd6.c')
-rw-r--r-- | sbin/ifconfig/af_nd6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/af_nd6.c b/sbin/ifconfig/af_nd6.c index 80065f6..5c46452 100644 --- a/sbin/ifconfig/af_nd6.c +++ b/sbin/ifconfig/af_nd6.c @@ -58,7 +58,7 @@ static const char rcsid[] = #define MAX_SYSCTL_TRY 5 #define ND6BITS "\020\001PERFORMNUD\002ACCEPT_RTADV\003PREFER_SOURCE" \ "\004IFDISABLED\005DONT_SET_IFROUTE\006AUTO_LINKLOCAL" \ - "\007NO_RADR\020DEFAULTIF" + "\007NO_RADR\010NO_PREFER_IFACE\020DEFAULTIF" static int isnd6defif(int); void setnd6flags(const char *, int, int, const struct afswtch *); |