1
0

patch-programs_ikeping_ikeping_c 482 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- openswan-2.6.18.orig/programs/ikeping/ikeping.c 2008-10-06 18:52:49.000000000 +0200
  3. +++ openswan-2.6.18/programs/ikeping/ikeping.c 2008-10-14 13:09:06.000000000 +0200
  4. @@ -316,7 +316,7 @@ main(int argc, char **argv)
  5. natt=0;
  6. listen_only=0;
  7. noDNS=0;
  8. - bzero(&laddr, sizeof(laddr));
  9. + memset(&laddr, 0, sizeof(laddr));
  10. while((c = getopt_long(argc, argv, "hVnvsp:b:46E:w:", long_opts, 0))!=EOF) {
  11. switch (c) {