summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man9/if_addrhook_add.98
1 files 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 <dlg@openbsd.org>
.\"
@@ -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