f86a533db1
- fix for #68212, previous fix actually didn't work for ping6 - renewed the ia64 align patches - update README.bonding - clear up the code from warnings - spec file cleanup
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
diff -up iputils-s20071127/ping.c.ia64_align iputils-s20071127/ping.c
|
|
--- iputils-s20071127/ping.c.ia64_align 2008-06-02 08:56:32.000000000 +0200
|
|
+++ iputils-s20071127/ping.c 2008-06-02 08:56:32.000000000 +0200
|
|
@@ -200,13 +200,13 @@ main(int argc, char **argv)
|
|
ptr[3] = i4;
|
|
options |= F_STRICTSOURCE;
|
|
} else {
|
|
- device = optarg;
|
|
+ device = strdup(optarg);
|
|
}
|
|
#else
|
|
if (inet_pton(AF_INET, optarg, &source.sin_addr) > 0)
|
|
options |= F_STRICTSOURCE;
|
|
else
|
|
- device = optarg;
|
|
+ device = strdup(optarg);
|
|
#endif
|
|
break;
|
|
}
|
|
diff -up iputils-s20071127/arping.c.ia64_align iputils-s20071127/arping.c
|
|
--- iputils-s20071127/arping.c.ia64_align 2008-06-02 08:56:32.000000000 +0200
|
|
+++ iputils-s20071127/arping.c 2008-06-02 08:56:32.000000000 +0200
|
|
@@ -351,7 +351,7 @@ main(int argc, char **argv)
|
|
timeout = atoi(optarg);
|
|
break;
|
|
case 'I':
|
|
- device = optarg;
|
|
+ device = strdup(optarg);
|
|
break;
|
|
case 'f':
|
|
quit_on_reply=1;
|
|
diff -up iputils-s20071127/ping6.c.ia64_align iputils-s20071127/ping6.c
|
|
--- iputils-s20071127/ping6.c.ia64_align 2008-06-02 08:56:32.000000000 +0200
|
|
+++ iputils-s20071127/ping6.c 2008-06-02 08:56:32.000000000 +0200
|
|
@@ -256,7 +256,7 @@ int main(int argc, char *argv[])
|
|
}
|
|
options |= F_STRICTSOURCE;
|
|
} else {
|
|
- device = optarg;
|
|
+ device = strdup(optarg);
|
|
}
|
|
break;
|
|
case 'M':
|