openbsd-ports/net/hping/patches/patch-getlhs_c
jca a21b43509e Update to hping3
- drop privs to a dedicated user
- in case of error, print a message regarding pf blocking pf blocking
  outgoing packets
- do not activate Tcl support (for now?)

Input and ok sthen@
2016-12-05 13:57:20 +00:00

15 lines
331 B
Plaintext

$OpenBSD: patch-getlhs_c,v 1.2 2016/12/05 13:57:20 jca Exp $
- handle pppoe interfaces
--- getlhs.c.orig Fri Dec 26 15:31:29 2014
+++ getlhs.c Sun Dec 4 20:53:14 2016
@@ -62,6 +62,7 @@ int dltype_to_lhs(int dltype)
#ifdef DLT_ATM_CLIP
case DLT_ATM_CLIP:
#endif
+ case DLT_PPP_ETHER:
lhs = 8;
break;
#ifdef DLT_C_HDLC