patch-programs_ikeping_ikeping_c 482 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- openswan-2.6.22.orig/programs/ikeping/ikeping.c 2009-06-23 04:53:08.000000000 +0200
  3. +++ openswan-2.6.22/programs/ikeping/ikeping.c 2009-07-23 19:46:18.643265912 +0200
  4. @@ -319,7 +319,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) {