summaryrefslogtreecommitdiff
path: root/package/uboot-lantiq/patches/200-httpd.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-02-24 07:41:10 +0000
committerJohn Crispin <john@openwrt.org>2011-02-24 07:41:10 +0000
commit54734b3d7d3908bea0d040df7b089b0ad174826e (patch)
tree215d4146ecf2f02abb622aa4d13bb48b4df48e90 /package/uboot-lantiq/patches/200-httpd.patch
parentcf3b7563cfc1c293c633bb361f7660ff67c0dc6c (diff)
downloadmtk-20170518-54734b3d7d3908bea0d040df7b089b0ad174826e.zip
mtk-20170518-54734b3d7d3908bea0d040df7b089b0ad174826e.tar.gz
mtk-20170518-54734b3d7d3908bea0d040df7b089b0ad174826e.tar.bz2
* adds stage1 lzma * new boards * fixes settings for PSC ram * lost of cleanups
SVN-Revision: 25694
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 04549fc..3c7bdbd 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.