From: Roy Marples Date: Wed, 14 May 2008 10:07:57 +0000 (+0000) Subject: We shouldn't need to declare an interface when requesting a variable list. X-Git-Tag: v4.0.2~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17b57433ce03b81e034677c71adbb6a371affe49;p=thirdparty%2Fdhcpcd.git We shouldn't need to declare an interface when requesting a variable list. --- diff --git a/dhcpcd.c b/dhcpcd.c index 624207e3..56ae2acc 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -449,6 +449,9 @@ main(int argc, char **argv) case 'f': cf = optarg; break; + case 'V': + print_options(); + goto abort; case '?': usage(); goto abort; @@ -618,9 +621,6 @@ main(int argc, char **argv) case 'T': options->options |= DHCPCD_TEST | DHCPCD_PERSISTENT; break; - case 'V': - print_options(); - goto abort; #ifdef CMDLINE_COMPAT case 'H': /* FALLTHROUGH */ case 'M':