blob: 98762b332cf315983ed4135b35f3d27beef30ab2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- openswan-2.6.37.orig/programs/ikeping/ikeping.c 2011-10-28 23:11:53.000000000 +0200
+++ openswan-2.6.37/programs/ikeping/ikeping.c 2011-12-01 17:33:23.000000000 +0100
@@ -317,7 +317,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) {
|