From: Roy Marples Date: Fri, 6 Jun 2014 19:22:54 +0000 (+0000) Subject: No argument for gateway X-Git-Tag: v6.4.0~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d3e410f2fd09eb21cff420623974224417419cf;p=thirdparty%2Fdhcpcd.git No argument for gateway --- diff --git a/if-options.c b/if-options.c index 8a2acffd..b5fb8347 100644 --- a/if-options.c +++ b/if-options.c @@ -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'} };