pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tcpflow Add a patch: the address family coming bac...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6aaba3394c4e
branches: trunk
changeset: 479679:6aaba3394c4e
user: cjs <cjs%pkgsrc.org@localhost>
date: Fri Aug 20 07:10:53 2004 +0000
description:
Add a patch: the address family coming back from the loopback interface is
in host, not network format. At least, this is the case for NetBSD. I don't
know what systems out there exist where this is not the case, but Linux is
one possibility.
diffstat:
net/tcpflow/Makefile | 3 ++-
net/tcpflow/distinfo | 3 ++-
net/tcpflow/patches/patch-aa | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 4e1033ee5777 -r 6aaba3394c4e net/tcpflow/Makefile
--- a/net/tcpflow/Makefile Fri Aug 20 03:21:43 2004 +0000
+++ b/net/tcpflow/Makefile Fri Aug 20 07:10:53 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2004/04/18 07:33:30 snj Exp $
+# $NetBSD: Makefile,v 1.3 2004/08/20 07:10:53 cjs Exp $
#
DISTNAME= tcpflow-0.20
+PKGREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://www.circlemud.org/pub/jelson/tcpflow/
diff -r 4e1033ee5777 -r 6aaba3394c4e net/tcpflow/distinfo
--- a/net/tcpflow/distinfo Fri Aug 20 03:21:43 2004 +0000
+++ b/net/tcpflow/distinfo Fri Aug 20 07:10:53 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/04/10 17:08:13 wiz Exp $
+$NetBSD: distinfo,v 1.2 2004/08/20 07:10:53 cjs Exp $
SHA1 (tcpflow-0.20.tar.gz) = 833d369e36828fa132106df93c604cc1c42c23c7
Size (tcpflow-0.20.tar.gz) = 72131 bytes
+SHA1 (patch-aa) = cf3774eb228191bf1b7b42820022f12990dfca99
diff -r 4e1033ee5777 -r 6aaba3394c4e net/tcpflow/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpflow/patches/patch-aa Fri Aug 20 07:10:53 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/08/20 07:10:53 cjs Exp $
+
+--- datalink.c.orig 1999-04-21 10:40:13.000000000 +0900
++++ datalink.c 2004-08-20 16:02:02.000000000 +0900
+@@ -64,7 +64,7 @@
+ #ifndef DLT_NULL_BROKEN
+ /* make sure this is AF_INET */
+ memcpy((char *)&family, (char *)p, sizeof(family));
+- family = ntohl(family);
++ family = family;
+ if (family != AF_INET) {
+ DEBUG(6) ("warning: received non-AF_INET null frame (type %d)", family);
+ return;
Home |
Main Index |
Thread Index |
Old Index