commit | 3a2ae8131fe0b6f2886e4c6cd3470d8212a7c1f4 | [log] [tgz] |
---|---|---|
author | Chris Packham <judge.packham@gmail.com> | Thu May 03 20:19:03 2018 +1200 |
committer | Tom Rini <trini@konsulko.com> | Mon May 14 21:28:38 2018 -0400 |
tree | 19d9ff76e83c07a0f2353e085aa4dd77c529f970 | |
parent | bfa7c21086819e6bb891d4085d33feec4b16a13a [diff] |
net: bootp: Fix compile error processing ntpserver option When the following configuration is set # CONFIG_CMD_DHCP is not set CONFIG_CMD_BOOTP=y CONFIG_BOOTP_NTPSERVER=y The following compile error is observed error: used struct type value where scalar is required if (net_ntp_server) ^~~~~~~~~~~~~~ Resolve this by checking net_ntp_server.s_addr instead. Signed-off-by: Chris Packham <judge.packham@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>