diff options
-rw-r--r-- | share/man/man4/ipl.4 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man4/ipl.4 b/share/man/man4/ipl.4 index 377a3383549..75f82ee9c1e 100644 --- a/share/man/man4/ipl.4 +++ b/share/man/man4/ipl.4 @@ -20,9 +20,14 @@ struct ipl_ci { u_long plen; /* length of packet data logged */ u_short hlen; /* length of headers logged */ u_short rule; /* rule number (for log ...) or 0 if result = log */ - u_short flags:12; /* flags, ie BLOCK, PASS, SHORT, etc */ - u_short unit:4; /* interface unit # */ - u_char ifname[2]; /* 2 character interface abbreviation */ + u_long flags:24; /* XXX FIXME do we care about the extra bytes? */ +#if (defined(NetBSD) && (NetBSD <= 1991011) && (NetBSD >= 199606)) + u_long filler:8; /* XXX FIXME do we care? */ + u_char ifname[IFNAMSIZ]; +#else + u_long unit:8; + u_char ifname[4]; +#endif }; .nf .PP |