[U-Boot] [PATCH 19/28] net: Don't write the "serverip" env var if told not to in the config

Mike Frysinger vapier at gentoo.org
Fri Feb 3 13:27:29 CET 2012


On Thursday 19 January 2012 19:53:22 Joe Hershberger wrote:
> --- a/common/cmd_net.c
> +++ b/common/cmd_net.c
>
> +#if !defined(CONFIG_BOOTP_SERVERIP)
>  	if (NetServerIP) {
>  		ip_to_string (NetServerIP, tmp);
>  		setenv ("serverip", tmp);
>  	}
> +#endif

please add a comment referring people to net/bootp.c:BootpCopyNetParams()
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120203/f713d39e/attachment.pgp>


More information about the U-Boot mailing list