From 6845379fe721e0755f964f88e04c82488f2f4360 Mon Sep 17 00:00:00 2001 From: krw Date: Wed, 12 Sep 2018 09:20:34 +0000 Subject: [PATCH] Fix obvious cut&pasto in comment (ifa_msghdr -> if_announcemsghdr). ok claudio@ --- sys/net/if.h | 4 ++-- 1 file 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" */ -- 2.20.1