From 44404ab72ec518de712e44d215afd1c94124c67c Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 22 Feb 2024 08:10:08 +0000 Subject: [PATCH] if_inkstatehook -> if_linkstatehook --- share/man/man9/if_addrhook_add.9 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.20.1