Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2012 12:16:01 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232334 - head/share/man/man9
Message-ID:  <201203011216.q21CG1s2077965@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203011216.q21CG1s2077965>