public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] undefined reference to `net_set_upd_handler'
@ 2012-05-23 22:46 Stephan Linz
  2012-05-23 22:50 ` Joe Hershberger
  0 siblings, 1 reply; 4+ messages in thread
From: Stephan Linz @ 2012-05-23 22:46 UTC (permalink / raw)
  To: u-boot

Hello Joe,

just I've tried out your custodian network tree at a99acb7 and run in
the link error below:

net/libnet.o: In function `NetLoop':
net/net.c:539: undefined reference to `net_set_upd_handler'

I think it is a typo in commit 6476b33, or not?

The patch snipped below would fix it. It works to me.



diff --git a/net/net.c b/net/net.c
index 159b91a..9de7d92 100644
--- a/net/net.c
+++ b/net/net.c
@@ -536,7 +536,7 @@ restart:
done:
#ifdef CONFIG_CMD_TFTPPUT
        /* Clear out the handlers */
-       net_set_upd_handler(NULL);
+       net_set_udp_handler(NULL);
        net_set_icmp_handler(NULL);
#endif
        return ret;



br,
Stephan

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-23 23:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 22:46 [U-Boot] undefined reference to `net_set_upd_handler' Stephan Linz
2012-05-23 22:50 ` Joe Hershberger
2012-05-23 22:54   ` Joe Hershberger
2012-05-23 23:20     ` Stephan Linz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox