projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d856fe
)
pxe, undiif: install the gateway properly
author
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 26 Apr 2011 22:22:03 +0000
(15:22 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Tue, 26 Apr 2011 22:22:03 +0000
(15:22 -0700)
Actually install the gateway, not a random pointer value...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/lwip/src/netif/undiif.c
patch
|
blob
|
history
diff --git
a/core/lwip/src/netif/undiif.c
b/core/lwip/src/netif/undiif.c
index
4e78693
..
4d75eb3
100644
(file)
--- a/
core/lwip/src/netif/undiif.c
+++ b/
core/lwip/src/netif/undiif.c
@@
-1375,7
+1375,7
@@
int undiif_start(uint32_t ip, uint32_t netmask, uint32_t gw)
((uint8_t *)gw)[2],
((uint8_t *)gw)[3]);
err = netifapi_netif_add(&undi_netif,
- (struct ip_addr *)&ip, (struct ip_addr *)&netmask, (struct ip_addr *)gw,
+ (struct ip_addr *)&ip, (struct ip_addr *)&netmask, (struct ip_addr *)
&
gw,
NULL, undiif_init, ip_input);
if (err)
return err;