summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-10-09 02:49:33 +0000
committerae <ae@FreeBSD.org>2014-10-09 02:49:33 +0000
commit142c06446733cb14eb874687d9867f69af201fba (patch)
treeff1ad08f4c6210380494738b7ccca66c8ac06526 /usr.bin/netstat
parent4742b8fd12181fb4ab76f445c6bf6e95c7598e0c (diff)
downloadFreeBSD-src-142c06446733cb14eb874687d9867f69af201fba.zip
FreeBSD-src-142c06446733cb14eb874687d9867f69af201fba.tar.gz
MFC r271307:
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.
Diffstat (limited to 'usr.bin/netstat')
-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