Alexander Graf bdce340cc6 net: Add option to prefer bootp/dhcp serverip
Currently we can choose between 2 different types of behavior for the
serverip variable:

  1) Always overwrite it with the DHCP server IP address (default)
  2) Ignore what the DHCP server says (CONFIG_BOOTP_SERVERIP)

This patch adds a 3rd option:

  3) Use serverip from DHCP if no serverip is given
     (CONFIG_BOOTP_PREFER_SERVERIP)

With this new option, we can have the default case that a boot file gets
loaded from the DHCP provided TFTP server work while allowing users to
specify their own serverip variable to explicitly use a different tftp
server.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2018-07-02 14:14:21 -05:00
..
2017-02-08 15:56:28 -05:00
2018-05-08 18:50:23 -04:00
2017-07-03 17:35:28 -04:00
2018-05-23 17:30:05 -04:00
2017-08-16 08:30:24 -04:00
2018-07-02 14:14:20 -05:00
2018-06-13 07:49:13 -04:00
2016-10-06 20:57:42 -04:00
2018-06-05 20:19:08 -04:00
2018-05-08 09:07:35 -04:00
2017-09-12 10:08:05 +02:00
2018-07-02 14:14:20 -05:00