Merge pull request #137 from ifupdown-ng/fix/dhclient-executor-args

dhcp executor: Pass correct arguments to dhclient
This commit is contained in:
Ariadne Conill 2020-12-14 18:33:36 -07:00 committed by GitHub
commit 71bc4b3dc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ start() {
optargs="$optargs -cf $IF_DHCP_CONFIG"
fi
${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $optarts $IFACE
${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $optargs $IFACE
;;
udhcpc)
optargs=$(eval echo $IF_UDHCPC_OPTS)