summaryrefslogtreecommitdiffstats
path: root/if-options.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-02-23 23:52:21 +0000
committerRoy Marples <roy@marples.name>2009-02-23 23:52:21 +0000
commitacb1cf88cf6a35c5156908349c31de634f107141 (patch)
treeab8ad2d67bca30de9fcec67de055c12daaff76f9 /if-options.c
parentab40c070d66713655a4d3e8839819ebab89e8529 (diff)
downloaddhcpcd-acb1cf88cf6a35c5156908349c31de634f107141.tar.xz
Fix debug working in dhcpcd.conf
Diffstat (limited to 'if-options.c')
-rw-r--r--if-options.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/if-options.c b/if-options.c
index da6f8208..119d6dea 100644
--- a/if-options.c
+++ b/if-options.c
@@ -300,7 +300,6 @@ parse_option(struct if_options *ifo, int opt, const char *arg)
struct rt *rt;
switch(opt) {
- case 'd': /* FALLTHROUGH */
case 'n': /* FALLTHROUGH */
case 'x': /* FALLTHROUGH */
case 'T': /* We need to handle non interface options */
@@ -311,6 +310,9 @@ parse_option(struct if_options *ifo, int opt, const char *arg)
case 'c':
strlcpy(ifo->script, arg, sizeof(ifo->script));
break;
+ case 'd':
+ ifo->options |= DHCPCD_DEBUG;
+ break;
case 'h':
if (arg) {
s = parse_string(ifo->hostname,