packages/net/flow-tools/patches/060-fix_uninitialized_var_in_flow_send.patch
florian 78484adfac Add flow-tools from #1341
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15 08:35:25 +00:00

14 lines
363 B
Diff

diff --git a/src/flow-send.c b/src/flow-send.c
index 83ca926..ad87024 100644
--- a/src/flow-send.c
+++ b/src/flow-send.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
u_int32 privacy_mask;
unsigned int v1, v2, one;
int i, n, ret, tx_delay, udp_sock;
- int src_ip_spoof, hdr_len;
+ int src_ip_spoof, hdr_len = 0;
void *rec;
/* init fterr */