Could something likes this be added ?
--- dnsmasq.orig 2015-04-24 12:14:51.453093251 +0200
+++ dnsmasq 2015-04-24 12:15:15.121092827 +0200
@@ -416,6 +416,10 @@
xappend
"--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+
$options}"
dhcp_option_add "$cfg" "$networkid"
+
+ config_get relay "$cfg" relay
+ network_get_ipaddr interface_ip "$networkid"
+ xappend "--dhcp-relay=$interface_ip,$relay"
}
dhcp_option_add() {
Perry
On 23-04-15 23:20, Kevin Darbyshire-Bryant wrote:
On 23/04/2015 21:55, openwrt-de...@couprie.net wrote:
Hi,
I need the dnsmasq --dhcp-relay option, how do i add this option to
the dnsmasq script ?
Perry
You could edit '/etc/dnsmasq.conf' and add your option/s directly to
it. Does that achieve your aim?
Kevin
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel