MFC r270927:

Add the reverse part to rule #9. Also change its description in the
  netstat(8) output.

Approved by:	re (gjb)
This commit is contained in:
ae 2014-09-08 19:40:59 +00:00
parent 259a8f66d5
commit 7bed52c05c
2 changed files with 3 additions and 1 deletions

View File

@ -447,6 +447,8 @@ in6_selectsrc(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts,
*/
if (ifa_preferred(&ia_best->ia_ifa, &ia->ia_ifa))
REPLACE(9);
if (ifa_preferred(&ia->ia_ifa, &ia_best->ia_ifa))
NEXT(9);
/*
* Rule 14: Use longest matching prefix.

View File

@ -345,7 +345,7 @@ static const char *srcrule_str[] = {
"matching label",
"public/temporary address",
"alive interface",
"preferred interface",
"better virtual status",
"rule #10",
"rule #11",
"rule #12",