commit 50dee1dfb6d9843cbd6876c08758bb44de5324e5 parent 2e57476af9181f4ca69df3b6e51c19a042a12c98 Author: Jordan Ritter <jpr5@darkridge.com> Date: Mon, 31 Dec 2001 21:11:01 +0000 compile fix for openBSD 3.0's tun device, which uses DLT_LOOP. Diffstat:
M | ngrep.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ngrep.c b/ngrep.c @@ -380,6 +380,7 @@ int main(int argc, char **argv) { link_offset = RAWHDR_SIZE; break; + case DLT_LOOP: case DLT_NULL: link_offset = LOOPHDR_SIZE; break;