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