summaryrefslogtreecommitdiff
path: root/package/openswan/patches/patch-programs_ikeping_ikeping_c
blob: f29e313f1bec339d4580512ff08a685b6b606384 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- openswan-2.6.46.orig/programs/ikeping/ikeping.c	2016-01-22 16:50:30.000000000 +0100
+++ openswan-2.6.46/programs/ikeping/ikeping.c	2016-02-15 20:55:32.000000000 +0100
@@ -321,7 +321,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) {