Re: [U-Boot] [PATCH v2] net: Fix endianness bug in link-local

2012-11-05 Thread Kim Phillips
On Mon, 5 Nov 2012 10:13:45 -0600 Joe Hershberger wrote: > The ip is stored in network order, so we can't test it in host order. > > Signed-off-by: Joe Hershberger > --- > Changes in v2: > - Changed htonl() to ntohl() Reviewed-by: Kim Phillips Kim ___

[U-Boot] [PATCH v2] net: Fix endianness bug in link-local

2012-11-05 Thread Joe Hershberger
The ip is stored in network order, so we can't test it in host order. Signed-off-by: Joe Hershberger --- Changes in v2: - Changed htonl() to ntohl() net/link_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/link_local.c b/net/link_local.c index d52f13a..1ba796e 10