hello,
i commented the bit which sometimes fills the syslog with:
"DHCP packet received on eth0.2 which has no address" like it does
on my tp-link wr1043nd..

Signed-off-by: Daniel Petre <d...@ip6.ro>

Index: patches/105-interface-without-ip-noise.patch
===================================================================
--- patches/105-interface-without-ip-noise.patch        (revision 0)
+++ patches/105-interface-without-ip-noise.patch        (revision 0)
@@ -0,0 +1,11 @@
+--- a/src/dhcp.c
++++ b/src/dhcp.c
+@@ -275,7 +275,7 @@
+        there is more than one address on the interface in the same subnet */
+   if (ioctl(daemon->dhcpfd, SIOCGIFADDR, &ifr) == -1)
+     {
+-      my_syslog(MS_DHCP | LOG_WARNING, _("DHCP packet received on %s which 
has no address"), ifr.ifr_name);
++      /* my_syslog(MS_DHCP | LOG_WARNING, _("DHCP packet received on %s which 
has no address"), ifr.ifr_name); */
+       return;
+     }
+   else
Index: Makefile
===================================================================
--- Makefile    (revision 32722)
+++ Makefile    (working copy)
@@ -9,7 +9,7 @@

 PKG_NAME:=dnsmasq
 PKG_VERSION:=2.59
-PKG_RELEASE:=4
+PKG_RELEASE:=5

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to