Add the reverse part to rule #9. Also change its description in the

netstat(8) output.

MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2014-09-01 09:30:34 +00:00
parent 877c97e5bd
commit ccc53de916
2 changed files with 3 additions and 1 deletions

View File

@ -448,6 +448,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",