diff options
-rw-r--r-- | usr.sbin/arp/arp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 8bdd555..25fbb23 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -187,8 +187,11 @@ main(int argc, char *argv[]) if (argc != 0) usage(); search(0, nuke_entry); - } else + } else { + if (argc != 1) + usage(); rtn = delete(argv[0]); + } break; case F_FILESET: if (argc != 1) |