]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
No argument for gateway
authorRoy Marples <roy@marples.name>
Fri, 6 Jun 2014 19:22:54 +0000 (19:22 +0000)
committerRoy Marples <roy@marples.name>
Fri, 6 Jun 2014 19:22:54 +0000 (19:22 +0000)
if-options.c

index 8a2acffdbac5d4846170ae24e35ab784d92de81c..b5fb83479e4441dbd8163bce27b981665827acda 100644 (file)
@@ -178,7 +178,7 @@ const struct option cf_options[] = {
        {"nodhcp6",         no_argument,       NULL, O_NODHCP6},
        {"controlgroup",    required_argument, NULL, O_CONTROLGRP},
        {"slaac",           required_argument, NULL, O_SLAAC},
-       {"gateway",         required_argument, NULL, O_GATEWAY},
+       {"gateway",         no_argument,       NULL, O_GATEWAY},
        {NULL,              0,                 NULL, '\0'}
 };