summaryrefslogtreecommitdiff
path: root/package/openswan/patches/patch-programs_ikeping_ikeping_c
blob: 4be18fcdb394e73a29f3c5c403b512370c9adce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- openswan-2.6.22.orig/programs/ikeping/ikeping.c	2009-06-23 04:53:08.000000000 +0200
+++ openswan-2.6.22/programs/ikeping/ikeping.c	2009-07-23 19:46:18.643265912 +0200
@@ -319,7 +319,7 @@ main(int argc, char **argv)
   natt=0;
   listen_only=0;
   noDNS=0;
-  bzero(&laddr, sizeof(laddr));
+  memset(&laddr, 0, sizeof(laddr));
 
   while((c = getopt_long(argc, argv, "hVnvsp:b:46E:w:", long_opts, 0))!=EOF) {
       switch (c) {