patch-programs_ikeping_ikeping_c 433 B

1234567891011
  1. --- openswan-2.6.46.orig/programs/ikeping/ikeping.c 2016-01-22 16:50:30.000000000 +0100
  2. +++ openswan-2.6.46/programs/ikeping/ikeping.c 2016-02-15 20:55:32.000000000 +0100
  3. @@ -321,7 +321,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) {