diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-04-23 21:47:33 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-04-23 21:47:33 +0000 |
commit | 0db49b5c8eab9fc74f10307d18a6df919e4590fc (patch) | |
tree | 2ae2433d0d300233da905f00c032f034b56b7223 /sys/netinet/if_ether.c | |
parent | c14466a8492737908c85b6bc33c3abfe21b1a640 (diff) |
The variable la_hold_total contains the number of packets currently
in the arp queue. So the sysctl net.inet.ip.arpqueued must be read
only. In if_ether.c include the header with the declaration of
la_hold_total to ensure that the definition matches.
OK mvs@
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r-- | sys/netinet/if_ether.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index fceeffc3e10..710f7d58492 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.c,v 1.243 2020/06/24 22:03:43 cheloha Exp $ */ +/* $OpenBSD: if_ether.c,v 1.244 2021/04/23 21:47:32 bluhm Exp $ */ /* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */ /* @@ -60,6 +60,7 @@ #include <netinet/in.h> #include <netinet/in_var.h> #include <netinet/if_ether.h> +#include <netinet/ip_var.h> #if NCARP > 0 #include <netinet/ip_carp.h> #endif |