ngrep: reinstate pppoe support; upstream added pflog but not pppoe;
I missed removal of the latter when I updated previously
This commit is contained in:
parent
e84829f801
commit
e1acbdca08
@ -4,7 +4,7 @@ GH_ACCOUNT= jpr5
|
||||
GH_PROJECT= ngrep
|
||||
GH_COMMIT= 2a9603bc67dface9606a658da45e1f5c65170444
|
||||
DISTNAME= ngrep-1.47.20190128
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
|
@ -9,3 +9,14 @@ Index: ngrep.c
|
||||
#endif
|
||||
|
||||
#if defined(OSF1)
|
||||
@@ -494,6 +495,10 @@ int setup_pcap_source(void) {
|
||||
|
||||
case DLT_PPP:
|
||||
link_offset = PPPHDR_SIZE;
|
||||
+ break;
|
||||
+
|
||||
+ case DLT_PPP_ETHER:
|
||||
+ link_offset = 8;
|
||||
break;
|
||||
|
||||
#if HAVE_DLT_LOOP
|
||||
|
Loading…
x
Reference in New Issue
Block a user