X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a727e68c1f777ead7201fae6d5cd14ef18b2d064..52b72cdab75ac5e82ce71d2190dc6e779fd9a9b0:/package/dnsmasq/files/dnsmasq.init?ds=sidebyside diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index edd22ad3e..75a57e72c 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -372,7 +372,9 @@ dhcp_srv_add() { dhcp_mx_add() { local cfg="$1" + local domain relay pref + config_get domain "$cfg" domain [ -n "$domain" ] || return 0 config_get relay "$cfg" relay