openbsd-ports/net/darkstat/patches/patch-decode_c
2006-11-11 18:11:09 +00:00

14 lines
455 B
Plaintext

$OpenBSD: patch-decode_c,v 1.1 2006/11/11 18:11:09 ckuethe Exp $
--- decode.c.orig Sun Aug 6 18:26:32 2006
+++ decode.c Fri Nov 3 17:58:32 2006
@@ -70,7 +70,9 @@ static const linkhdr_t linkhdrs[] = {
{ DLT_PPP, PPP_HDR_LEN, NULL },
{ DLT_FDDI, FDDI_HDR_LEN, NULL },
{ DLT_PPP_ETHER, PPPOE_HDR_LEN, decode_pppoe },
+#ifdef DLT_LINUX_SLL
{ DLT_LINUX_SLL, SLL_HDR_LEN, decode_linux_sll },
+#endif
{ -1, -1, NULL }
};