From 01d5742f865d5060153d6fe6ff4bc62fca51c6dd Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 18 Jul 2014 06:48:02 +0000 Subject: [PATCH] Fix "ndp -d hostname". --- usr.sbin/ndp/ndp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index 809d758d6499..e8960102de25 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -188,9 +188,9 @@ main(int argc, char **argv) mode = ch; arg = NULL; break; - case 'd': case 'f': exit(file(optarg) ? 1 : 0); + case 'd': case 'i': if (mode) { usage();