From 9a76a422701f488fd5afbbf3c9666511eb4e4a3a Mon Sep 17 00:00:00 2001 From: pluknet Date: Thu, 1 Mar 2012 12:16:00 +0000 Subject: Reflect that ifa_ifwithnet() gained ignore_ptp argument. MFC after: 1 week --- share/man/man9/ifnet.9 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9 index c87812d..8643ba8 100644 --- a/share/man/man9/ifnet.9 +++ b/share/man/man9/ifnet.9 @@ -77,7 +77,7 @@ .Ft "struct ifaddr *" .Fn ifa_ifwithdstaddr "struct sockaddr *addr" .Ft "struct ifaddr *" -.Fn ifa_ifwithnet "struct sockaddr *addr" +.Fn ifa_ifwithnet "struct sockaddr *addr" "int ignore_ptp" .Ft "struct ifaddr *" .Fn ifaof_ifpforaddr "struct sockaddr *addr" "struct ifnet *ifp" .Ft void @@ -1323,6 +1323,9 @@ subject to its configured netmask, or a point-to-point interface address whose remote address is .Fa addr if one is found. +If +.Fa ignore_ptp +is true, skip point-to-point interface addresses. .Pp .Fn ifaof_ifpforaddr returns the most specific address configured on interface -- cgit v1.1