diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-28 12:56:36 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-28 12:56:36 +0100 |
commit | 62d218c2368b3ad1e9802075cef06e3f626fb234 (patch) | |
tree | 4804f063c6e29cd1b17097324d6bd262a3c291b5 /package/snort/patches/patch-src_inline_c | |
parent | b3259201a158cb1a571c2a3b2976fbd7b95a4b80 (diff) | |
parent | 03c7aed5dcad2172bbe1bcd311fabb63fbf6dca0 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/snort/patches/patch-src_inline_c')
-rw-r--r-- | package/snort/patches/patch-src_inline_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/snort/patches/patch-src_inline_c b/package/snort/patches/patch-src_inline_c new file mode 100644 index 000000000..64c7a226f --- /dev/null +++ b/package/snort/patches/patch-src_inline_c @@ -0,0 +1,11 @@ +--- snort-2.8.5.1.orig/src/inline.c 2009-07-07 17:37:01.000000000 +0200 ++++ snort-2.8.5.1/src/inline.c 2009-12-27 17:20:43.000000000 +0100 +@@ -335,7 +335,7 @@ void IpfwLoop(void) + } + + /* Fill in necessary fields */ +- bzero(&sin, sizeof(sin)); ++ memset(&sin, 0, sizeof(sin)); + sin.sin_family = PF_INET; + sin.sin_addr.s_addr = INADDR_ANY; + sin.sin_port = htons(ScDivertPort()); |