From dd7f801f736c679666c24030d91a80f624ef5a19 Mon Sep 17 00:00:00 2001 From: oblique Date: Sun, 20 Sep 2015 15:50:41 +0300 Subject: [PATCH] dnsmasq: Use `dhcp-option-force` instead of `dhcp-option` --- create_ap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_ap b/create_ap index a06cd4e..0f98367 100755 --- 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