]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We shouldn't need to declare an interface when requesting a variable list.
authorRoy Marples <roy@marples.name>
Wed, 14 May 2008 10:07:57 +0000 (10:07 +0000)
committerRoy Marples <roy@marples.name>
Wed, 14 May 2008 10:07:57 +0000 (10:07 +0000)
dhcpcd.c

index 624207e3325ec84a87f59148e95640bfec400722..56ae2acc661d3e9bbd285ff6de9ab4348c6c7e1a 100644 (file)
--- 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':