diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-02 16:17:30 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-02 16:17:30 +0000 |
commit | 2cbe6e6eb237a8f51139be4d450997a0317ec593 (patch) | |
tree | 30bc665ee14823b8a6d34e309a14655d24b6eb93 /networking/ping6.c | |
parent | db7f2e5881b9ae40896d7660cd2f2446f514c72d (diff) |
ping: implement -I option
Diffstat (limited to 'networking/ping6.c')
-rw-r--r-- | networking/ping6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/networking/ping6.c b/networking/ping6.c index 38d605c6d..267109c9f 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; |