From: jsg Date: Thu, 22 Feb 2024 08:10:08 +0000 (+0000) Subject: if_inkstatehook -> if_linkstatehook X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=44404ab72ec518de712e44d215afd1c94124c67c;p=openbsd if_inkstatehook -> if_linkstatehook --- diff --git a/share/man/man9/if_addrhook_add.9 b/share/man/man9/if_addrhook_add.9 index 225cb815046..64c4c1bedc2 100644 --- a/share/man/man9/if_addrhook_add.9 +++ b/share/man/man9/if_addrhook_add.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: if_addrhook_add.9,v 1.2 2019/11/08 08:14:11 jmc Exp $ +.\" $OpenBSD: if_addrhook_add.9,v 1.3 2024/02/22 08:10:08 jsg Exp $ .\" .\" Copyright (c) 2019 David Gwynne .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 8 2019 $ +.Dd $Mdocdate: February 22 2024 $ .Dt IF_ADDRHOOK_ADD 9 .Os .Sh NAME @@ -39,9 +39,9 @@ .Ft void .Fn if_detachhook_del "struct ifnet *ifp" "struct task *t" .Ft void -.Fn if_inkstatehook_add "struct ifnet *ifp" "struct task *t" +.Fn if_linkstatehook_add "struct ifnet *ifp" "struct task *t" .Ft void -.Fn if_inkstatehook_del "struct ifnet *ifp" "struct task *t" +.Fn if_linkstatehook_del "struct ifnet *ifp" "struct task *t" .Sh DESCRIPTION The interface hook API allows for the registration of a task that will be called when an IP address change, link state, or detach event