]> git.ipfire.org Git - people/ms/u-boot.git/commit - net/bootp.c
net: dhcp: Allow "MAY_FAIL" to still try each adapter
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 8 Nov 2017 02:13:40 +0000 (18:13 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:23 +0000 (12:05 -0600)
commit2099b9f27cebdbee1ff28ccf146c8dba8a922118
tree2346b18c45aa420efc2fdb4b20d035640ffd1404
parentd5d5757291509f0716f6c24a391a3ae1f51042be
net: dhcp: Allow "MAY_FAIL" to still try each adapter

This change allows the "MAY_FAIL" DHCP option to still attempt to
contact a DHCP server on each adapter and only give up once each
adapter has failed once.  To get the existing behavior, set the
already-existing ethrotate=no variable.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Keng Soon Cheah <keng.soon.cheah@ni.com>
Cc: Chen Yee Chew <chen.yee.chew@ni.com>
net/bootp.c