From a3f84c2c87a7014616fa8795ad79025fc9f6bdf6 Mon Sep 17 00:00:00 2001 From: luis Date: Fri, 29 Mar 2013 16:39:36 +0000 Subject: [PATCH] Merge r27963 from nmap-npingchanges: Remove some unimplemented command-line flags --- nping/ArgParser.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/nping/ArgParser.cc b/nping/ArgParser.cc index d023adeed..b4a513a78 100644 --- a/nping/ArgParser.cc +++ b/nping/ArgParser.cc @@ -166,9 +166,6 @@ int ArgParser::parseArguments(int argc, char *argv[]) { {"ack", required_argument, 0, 0}, {"win", required_argument, 0, 0}, {"badsum", no_argument, 0, 0}, - {"mss", required_argument, 0, 0}, - {"ws", required_argument, 0, 0}, - {"ts", required_argument, 0, 0}, /* ICMP */ {"icmp-type", required_argument, 0, 0}, @@ -510,13 +507,6 @@ int ArgParser::parseArguments(int argc, char *argv[]) { /* Set a bad TCP checksum */ } else if (optcmp(long_options[option_index].name, "badsum") == 0) { o.enableBadsum(); - /* TCP maximum segment size option TODO: Implement this */ - } else if (optcmp(long_options[option_index].name, "mss") == 0) { - /* TCP window scale option TODO: Implement this */ - } else if (optcmp(long_options[option_index].name, "ws") == 0) { - /* TCP timestamp option TODO: Implement this */ - } else if (optcmp(long_options[option_index].name, "ts") == 0) { - /* ICMP OPTIONS **************************************************************/ /* ICMP Type */