patch-src_inline_c 403 B

1234567891011
  1. --- snort-2.8.5.1.orig/src/inline.c 2009-07-07 17:37:01.000000000 +0200
  2. +++ snort-2.8.5.1/src/inline.c 2009-12-27 17:20:43.000000000 +0100
  3. @@ -335,7 +335,7 @@ void IpfwLoop(void)
  4. }
  5. /* Fill in necessary fields */
  6. - bzero(&sin, sizeof(sin));
  7. + memset(&sin, 0, sizeof(sin));
  8. sin.sin_family = PF_INET;
  9. sin.sin_addr.s_addr = INADDR_ANY;
  10. sin.sin_port = htons(ScDivertPort());