summaryrefslogtreecommitdiff
path: root/package/snort/patches/patch-src_inline_c
blob: 64c7a226fb809980815de1f923643eec27f9c8c6 (plain)
1
2
3
4
5
6
7
8
9
10
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());