-.\" $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>
.\"
.\" 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
.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