dnsmasq: Use dhcp-option-force
instead of dhcp-option
This commit is contained in:
parent
348b6e728a
commit
dd7f801f73
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user