svn commit: r232334 - head/share/man/man9
Sergey Kandaurov
pluknet at FreeBSD.org
Thu Mar 1 12:16:01 UTC 2012
Author: pluknet
Date: Thu Mar 1 12:16:00 2012
New Revision: 232334
URL: http://svn.freebsd.org/changeset/base/232334
Log:
Reflect that ifa_ifwithnet() gained ignore_ptp argument.
MFC after: 1 week
Modified:
head/share/man/man9/ifnet.9
Modified: head/share/man/man9/ifnet.9
==============================================================================
--- head/share/man/man9/ifnet.9 Thu Mar 1 12:03:52 2012 (r232333)
+++ head/share/man/man9/ifnet.9 Thu Mar 1 12:16:00 2012 (r232334)
@@ -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
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
More information about the svn-src-all
mailing list