summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-09-12 09:20:35 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-09-12 09:20:35 +0000
commit30ad7c6492fa04a0fa9294ec25bb7dc89f3f7994 (patch)
treed64df1417b97f1814b6b996cdd975498e120c104 /sys/net
parente9c783ffc0b5bd8e432f4fde9e243db9a9ee1f33 (diff)
Fix obvious cut&pasto in comment (ifa_msghdr -> if_announcemsghdr).
ok claudio@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 33f355dd161..4f2e9f7bd7a 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.194 2018/05/30 22:20:41 dlg Exp $ */
+/* $OpenBSD: if.h,v 1.195 2018/09/12 09:20:34 krw Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -311,7 +311,7 @@ struct if_announcemsghdr {
u_short ifan_msglen; /* to skip over non-understood messages */
u_char ifan_version; /* future binary compatibility */
u_char ifan_type; /* message type */
- u_short ifan_hdrlen; /* sizeof(ifa_msghdr) to skip over the header */
+ u_short ifan_hdrlen; /* sizeof(if_announcemsghdr) to skip header */
u_short ifan_index; /* index for associated ifp */
u_short ifan_what; /* what type of announcement */
char ifan_name[IFNAMSIZ]; /* if name, e.g. "en0" */