commit dd7f801f736c679666c24030d91a80f624ef5a19
parent 348b6e728a3d01cfc3c5698c4f68565cfa3ac2bb
Author: oblique <psyberbits@gmail.com>
Date: Sun, 20 Sep 2015 15:50:41 +0300
dnsmasq: Use `dhcp-option-force` instead of `dhcp-option`
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/create_ap b/create_ap
@@ -1532,10 +1532,10 @@ else
listen-address=${GATEWAY}
${DNSMASQ_BIND}
dhcp-range=${GATEWAY%.*}.1,${GATEWAY%.*}.254,255.255.255.0,24h
-dhcp-option=option:router,${GATEWAY}
+dhcp-option-force=option:router,${GATEWAY}
EOF
MTU=$(get_mtu $INTERNET_IFACE)
- [[ -n "$MTU" ]] && echo "dhcp-option=option:mtu,${MTU}" >> $CONFDIR/dnsmasq.conf
+ [[ -n "$MTU" ]] && echo "dhcp-option-force=option:mtu,${MTU}" >> $CONFDIR/dnsmasq.conf
[[ $ETC_HOSTS -eq 0 ]] && echo no-hosts >> $CONFDIR/dnsmasq.conf
fi