summaryrefslogtreecommitdiff
path: root/networking/ping6.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-02 16:17:30 +0000
committerDenis Vlasenko2006-09-02 16:17:30 +0000
commit2cbe6e6eb237a8f51139be4d450997a0317ec593 (patch)
tree30bc665ee14823b8a6d34e309a14655d24b6eb93 /networking/ping6.c
parentdb7f2e5881b9ae40896d7660cd2f2446f514c72d (diff)
downloadbusybox-2cbe6e6eb237a8f51139be4d450997a0317ec593.zip
busybox-2cbe6e6eb237a8f51139be4d450997a0317ec593.tar.gz
ping: implement -I option
Diffstat (limited to 'networking/ping6.c')
-rw-r--r--networking/ping6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/ping6.c b/networking/ping6.c
index 38d605c..267109c 100644
--- a/networking/ping6.c
+++ b/networking/ping6.c
@@ -265,7 +265,6 @@ static void unpack(char *packet, int sz, struct sockaddr_in6 *from, int hoplimit
return;
icmppkt = (struct icmp6_hdr *) packet;
-
if (icmppkt->icmp6_id != myid)
return; /* not our ping */
@@ -423,7 +422,6 @@ int ping6_main(int argc, char **argv)
argc--;
argv++;
- options = 0;
/* Parse any options */
while (argc >= 1 && **argv == '-') {
thisarg = *argv;