The network mask must be stored in network order when in a 'struct in_addr'. This fix removes the "gatewayip needed but not set" message on the console when using a link-local IP setup. Signed-off-by: Alexandre Messier <amessier@tycoint.com> Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| arp.c | ||
| arp.h | ||
| bootp.c | ||
| bootp.h | ||
| cdp.c | ||
| cdp.h | ||
| checksum.c | ||
| dns.c | ||
| dns.h | ||
| eth-uclass.c | ||
| eth_common.c | ||
| eth_internal.h | ||
| eth_legacy.c | ||
| link_local.c | ||
| link_local.h | ||
| net.c | ||
| net_rand.h | ||
| nfs.c | ||
| nfs.h | ||
| ping.c | ||
| ping.h | ||
| rarp.c | ||
| rarp.h | ||
| sntp.c | ||
| sntp.h | ||
| tftp.c | ||