patch-programs_ikeping_ikeping_c 433 B

1234567891011
  1. --- openswan-2.6.38.orig/programs/ikeping/ikeping.c 2012-03-23 22:33:43.000000000 +0100
  2. +++ openswan-2.6.38/programs/ikeping/ikeping.c 2012-07-25 18:17:21.000000000 +0200
  3. @@ -318,7 +318,7 @@ main(int argc, char **argv)
  4. verbose=0;
  5. natt=0;
  6. listen_only=0;
  7. - bzero(&laddr, sizeof(laddr));
  8. + memset(&laddr, 0, sizeof(laddr));
  9. while((c = getopt_long(argc, argv, "hVvsp:b:46E:w:", long_opts, 0))!=EOF) {
  10. switch (c) {