diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2018-02-20 08:47:50 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-22 08:17:20 +0100 |
commit | e18cc5b7e9ce0ac71f0e00f166ca2e2afcc3f466 (patch) | |
tree | faf0856a463096db22dac1fa11adbbd1796e25d5 /defaultenv/defaultenv-2-base/data/ansi-colors | |
parent | ea096f2fa7ac14ddfacf9e82af7f073d77cbd06c (diff) | |
download | barebox-e18cc5b7e9ce0ac71f0e00f166ca2e2afcc3f466.tar.gz barebox-e18cc5b7e9ce0ac71f0e00f166ca2e2afcc3f466.tar.xz |
DHCP: fix option 54 passing
Though variable net_dhcp_server_ip was declared and used as a
function parameter it was never assigned. That's why a DHCP
request was sent without option 54 set. Some DHCP server for
example dnsmasq didn't accept such a packet.
As both offered IP address and server IP are stored in the global
dhcp_result structure we don't need either net_dhcp_server_ip or
OfferedIP variables and can use the addresses from dhcp_result
directly.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv/defaultenv-2-base/data/ansi-colors')
0 files changed, 0 insertions, 0 deletions