OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 25-Dec-2004 13:38:44
Branch: HEAD Handle: 2004122512384300
Modified files:
openpkg-src/flowtools flowtools.patch
Log:
fix flow-fanout command according to hint on flow-tools mailing list
Summary:
Revision Changes Path
1.9 +12 -4 openpkg-src/flowtools/flowtools.patch
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/flowtools/flowtools.patch
============================================================================
$ cvs diff -u -r1.8 -r1.9 flowtools.patch
--- openpkg-src/flowtools/flowtools.patch 25 Dec 2004 09:44:49 -0000
1.8
+++ openpkg-src/flowtools/flowtools.patch 25 Dec 2004 12:38:43 -0000
1.9
@@ -144,8 +144,16 @@
Index: flow-tools-0.67/src/flow-fanout.c
--- flow-tools-0.67/src/flow-fanout.c.orig 2003-12-01 00:38:37 +0100
-+++ flow-tools-0.67/src/flow-fanout.c 2004-12-24 22:07:56 +0100
-@@ -486,7 +486,7 @@
++++ flow-tools-0.67/src/flow-fanout.c 2004-12-25 13:32:08 +0100
+@@ -412,6 +412,7 @@
+ /* default UDP listen port is FT_PORT */
+ ftnet.dst_port = (ftpi.dst_port) ? ftpi.dst_port : FT_PORT;
+
++ ftnet.loc_addr.sin_family = AF_INET;
+ ftnet.loc_addr.sin_addr.s_addr = htonl(ftpi.loc_ip);
+ ftnet.loc_addr.sin_port = htons(ftnet.dst_port);
+
+@@ -486,7 +487,7 @@
/* unicast bind -- multicast support */
if (bind(ftnet.fd, (struct sockaddr*)&ftnet.loc_addr,
sizeof(ftnet.loc_addr)) < 0)
@@ -154,7 +162,7 @@
} /* not multicast group */
-@@ -499,7 +499,7 @@
+@@ -499,7 +500,7 @@
/* unicast bind -- no multicast support */
if (bind(ftnet.fd, (struct sockaddr*)&ftnet.loc_addr,
sizeof(ftnet.loc_addr)) < 0)
@@ -163,7 +171,7 @@
#endif /* IP_ADD_MEMBERSHIP */
-@@ -839,7 +839,7 @@
+@@ -839,7 +840,7 @@
} /* fte.buf_size */
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]