ongrep

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

commit 10503e7814b960727436e6d9f9fb699e980ab50e
parent a7773337ba6f39b1aed5a8eb9e2c0a2496fa9447
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Mon, 31 Dec 2001 21:28:52 +0000

added support for isdn (DELETANG Frederic (ziga))

Diffstat:
Mngrep.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/ngrep.c b/ngrep.c @@ -385,6 +385,10 @@ int main(int argc, char **argv) { link_offset = LOOPHDR_SIZE; break; + case DLT_LINUX_SLL: + link_offset = ISDNHDR_SIZE; + break; + default: fprintf(stderr, "fatal: unsupported interface type %d\n", pcap_datalink(pd)); clean_exit(-1);