aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2014-09-09 10:52:50 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2014-09-09 10:52:50 +0000
commit5dbfa43f65ba09a5e06e8c58771f432b58882eed (patch)
tree46375aea1ee207f95889b4959d6de7dcf7b0415e /usr.bin
parent141aa3b93af46d92202ed445b3367fdd8b1c2d18 (diff)
downloadsrc-5dbfa43f65ba09a5e06e8c58771f432b58882eed.tar.gz
src-5dbfa43f65ba09a5e06e8c58771f432b58882eed.zip
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
Notes
Notes: svn path=/head/; revision=271307
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 a44ff3ebf44f..96fdcaf6f7e3 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",