diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-05-08 22:38:58 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-05-09 10:01:07 +0200 |
commit | 54ea0f45c8b375ff29478c1f0d659d1548e89fc9 (patch) | |
tree | 752fa4f381198328b92caa331d7402c94c67b115 /package/network | |
parent | eb99f8912ad7c827c876b1a64e9f347c2cbaf7af (diff) | |
download | upstream-54ea0f45c8b375ff29478c1f0d659d1548e89fc9.tar.gz upstream-54ea0f45c8b375ff29478c1f0d659d1548e89fc9.tar.bz2 upstream-54ea0f45c8b375ff29478c1f0d659d1548e89fc9.zip |
dnsmasq: use append_interface_name when using option --interface-name
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/services/dnsmasq/Makefile | 2 | ||||
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile index 113a6f154d..19c65f7974 100644 --- a/package/network/services/dnsmasq/Makefile +++ b/package/network/services/dnsmasq/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dnsmasq PKG_VERSION:=2.77test5 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/test-releases diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index c742205321..2395eaf804 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -337,14 +337,14 @@ dhcp_this_host_add() { if [ "$mode" -gt 1 ] ; then if [ "$mode" -gt 2 ] ; then if [ "$mode" -gt 3 ] ; then - xappend "--interface-name=$ifdashname.$routername.$DOMAIN,$ifname" + append_interface_name "$ifdashname.$routername.$DOMAIN" "$ifname" fi - xappend "--interface-name=$routername.$DOMAIN,$ifname" + append_interface_name "$routername.$DOMAIN" "$ifname" fi # All IP addresses discovered by dnsmasq will be labeled (except fe80::) - xappend "--interface-name=$routername,$ifname" + append_interface_name "$routername" "$ifname" else # This uses a static host file entry for only limited addresses. |