summaryrefslogtreecommitdiff
blob: a563778bfa2e6a77ffdcb05b06069c21bc2c4e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
*** client/dhclient.c	Wed Aug  8 10:46:14 2001
--- client/dhclient.c.fix	Sat Sep 21 12:15:21 2002
***************
*** 198,205 ****
  		} else if (!strcmp (argv [i], "-w")) {
  			/* do not exit if there are no broadcast interfaces. */
  			persist = 1;
-  		} else if (argv [i][0] == '-') {
-  		    usage ();
  		} else if (!strcmp (argv [i], "-e")) {
  			struct string_list *tmp;
  			if (++i == argc)
--- 198,203 ----
***************
*** 216,221 ****
--- 214,221 ----
  			exit (0);
  		} else if (!strcmp (argv [i], "-nw")) {
  			nowait = 1;
+  		} else if (argv [i][0] == '-') {
+  		    usage ();
   		} else {
   		    struct interface_info *tmp = (struct interface_info *)0;
  		    status = interface_allocate (&tmp, MDL);