make it work on loopback interface

from Dmitry Medvedev <dima at oganer.net>
This commit is contained in:
sturm 2006-01-15 12:42:31 +00:00
parent dd95a1e84b
commit 8c9d4ed94c
2 changed files with 13 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.14 2004/12/16 00:31:26 alek Exp $
# $OpenBSD: Makefile,v 1.15 2006/01/15 12:42:31 sturm Exp $
COMMENT= "tool for capturing data from TCP connections"
DISTNAME= tcpflow-0.21
PKGNAME= ${DISTNAME}p0
CATEGORIES= net
MASTER_SITES= ftp://ftp.circlemud.org/pub/jelson/tcpflow/

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_datalink_c,v 1.1 2006/01/15 12:42:31 sturm Exp $
--- src/datalink.c.orig Fri Jan 6 16:07:13 2006
+++ src/datalink.c Fri Jan 6 16:08:29 2006
@@ -188,6 +188,7 @@ pcap_handler find_handler(int datalink_t
#endif
{ dl_ethernet, DLT_EN10MB },
{ dl_ethernet, DLT_IEEE802 },
+ { dl_null, DLT_LOOP },
{ dl_ppp, DLT_PPP },
#ifdef DLT_LINUX_SLL
{ dl_linux_sll, DLT_LINUX_SLL },