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:
sthen 2022-12-12 22:22:38 +00:00
parent e84829f801
commit e1acbdca08
2 changed files with 12 additions and 1 deletions

View File

@ -4,7 +4,7 @@ GH_ACCOUNT= jpr5
GH_PROJECT= ngrep
GH_COMMIT= 2a9603bc67dface9606a658da45e1f5c65170444
DISTNAME= ngrep-1.47.20190128
REVISION= 0
REVISION= 1
CATEGORIES= net

View File

@ -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