ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit f46276e28689d20b3a7b2ab4f0a1c741e6273880
parent ba65100428c8af3b8347b183350fa0571a02a702
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Tue, 15 Sep 2020 17:50:34 +1000

drop ethertypes.h for if_ether.h, seperate headers

From tcpdump in base.

Diffstat:
Mngrep.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ngrep.c b/ngrep.c @@ -11,10 +11,11 @@ #include <sys/socket.h> #include <sys/stat.h> -#include <net/ethertypes.h> #include <net/if.h> + #include <netinet/in.h> #include <netinet/icmp6.h> +#include <netinet/if_ether.h> #include <netinet/igmp.h> #include <netinet/ip.h> #include <netinet/ip6.h>