summaryrefslogtreecommitdiffstats
path: root/package/uboot-lantiq/patches/200-httpd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/uboot-lantiq/patches/200-httpd.patch')
-rw-r--r--package/uboot-lantiq/patches/200-httpd.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/uboot-lantiq/patches/200-httpd.patch b/package/uboot-lantiq/patches/200-httpd.patch
index 04549fc08..3c7bdbd4a 100644
--- a/package/uboot-lantiq/patches/200-httpd.patch
+++ b/package/uboot-lantiq/patches/200-httpd.patch
@@ -4609,7 +4609,7 @@
+static void
+uip_arp_update(u16_t *ipaddr, struct uip_eth_addr *ethaddr)
+{
-+ register struct arp_entry *tabptr;
++ register struct arp_entry *tabptr = 0;
+ /* Walk through the ARP mapping table and try to find an entry to
+ update. If none is found, the IP -> MAC address mapping is
+ inserted in the ARP table. */
@@ -4801,7 +4801,7 @@
+void
+uip_arp_out(void)
+{
-+ struct arp_entry *tabptr;
++ struct arp_entry *tabptr = 0;
+ /* Find the destination IP address in the ARP table and construct
+ the Ethernet header. If the destination IP addres isn't on the
+ local network, we use the default router's IP address instead.