summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-09-09 10:52:50 +0000
committerae <ae@FreeBSD.org>2014-09-09 10:52:50 +0000
commit7d73ba180413c78ba7f2aedb71d93b28251d69d2 (patch)
tree46375aea1ee207f95889b4959d6de7dcf7b0415e /usr.bin
parentf4235299d0e0d1f294ee14f9a0898014c8ad6f0c (diff)
downloadFreeBSD-src-7d73ba180413c78ba7f2aedb71d93b28251d69d2.zip
FreeBSD-src-7d73ba180413c78ba7f2aedb71d93b28251d69d2.tar.gz
Add the ability to set `prefer_source' flag to an IPv6 address.
It affects the IPv6 source address selection algorithm (RFC 6724) and allows override the last rule ("longest matching prefix") for choosing among equivalent addresses. The address with `prefer_source' will be preferred source address. Obtained from: Yandex LLC MFC after: 1 month Sponsored by: Yandex LLC
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/inet6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index a44ff3e..96fdcaf 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -346,7 +346,7 @@ static const char *srcrule_str[] = {
"public/temporary address",
"alive interface",
"better virtual status",
- "rule #10",
+ "preferred source",
"rule #11",
"rule #12",
"rule #13",
OpenPOWER on IntegriCloud