Signed-off-by: Stefano Babic <[email protected]>
CC: Wolfgang Denk <[email protected]>
---
net/bootp.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/bootp.c b/net/bootp.c
index b789eec..b446521 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -105,7 +105,9 @@ static int BootpCheckPkt(uchar *pkt, unsigned dest,
unsigned src, unsigned len)
*/
static void BootpCopyNetParams(Bootp_t *bp)
{
+#if !defined(CONFIG_BOOTP_SERVERIP)
IPaddr_t tmp_ip;
+#endif
NetCopyIP(&NetOurIP, &bp->bp_yiaddr);
#if !defined(CONFIG_BOOTP_SERVERIP)
--
1.7.1
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot