diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-10-01 17:17:47 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-10-01 17:17:47 -0700 |
commit | 8a761944b0f4cf5bf88c9dafa9d8711c115166c2 (patch) | |
tree | 085de1becb707d514d3607d4aab9e34020e73e1b | |
parent | dfdfec6e416896fe2800b58ef3e14e648033c67a (diff) | |
download | syslinux-8a761944b0f4cf5bf88c9dafa9d8711c115166c2.tar.gz syslinux-8a761944b0f4cf5bf88c9dafa9d8711c115166c2.tar.xz syslinux-8a761944b0f4cf5bf88c9dafa9d8711c115166c2.zip |
undiif: correct bogus dprintf() statement
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/lwip/src/netif/undiif.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/core/lwip/src/netif/undiif.c b/core/lwip/src/netif/undiif.c index 6d75a584..ea999cfd 100644 --- a/core/lwip/src/netif/undiif.c +++ b/core/lwip/src/netif/undiif.c @@ -1347,18 +1347,18 @@ int undiif_start(uint32_t ip, uint32_t netmask, uint32_t gw) // This should be done *after* the threading system and receive thread // have both been started. dprintf("undi_netif: ip %d.%d.%d.%d netmask %d.%d.%d.%d gw %d.%d.%d.%d\n", - ((uint8_t *)ip)[0], - ((uint8_t *)ip)[1], - ((uint8_t *)ip)[2], - ((uint8_t *)ip)[3], - ((uint8_t *)netmask)[0], - ((uint8_t *)netmask)[1], - ((uint8_t *)netmask)[2], - ((uint8_t *)netmask)[3], - ((uint8_t *)gw)[0], - ((uint8_t *)gw)[1], - ((uint8_t *)gw)[2], - ((uint8_t *)gw)[3]); + ((uint8_t *)&ip)[0], + ((uint8_t *)&ip)[1], + ((uint8_t *)&ip)[2], + ((uint8_t *)&ip)[3], + ((uint8_t *)&netmask)[0], + ((uint8_t *)&netmask)[1], + ((uint8_t *)&netmask)[2], + ((uint8_t *)&netmask)[3], + ((uint8_t *)&gw)[0], + ((uint8_t *)&gw)[1], + ((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, NULL, undiif_init, ip_input); |