summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/dev_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/dev_net.c')
-rw-r--r--sys/boot/common/dev_net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/common/dev_net.c b/sys/boot/common/dev_net.c
index c88dae7..884366f 100644
--- a/sys/boot/common/dev_net.c
+++ b/sys/boot/common/dev_net.c
@@ -68,6 +68,7 @@
#include <string.h>
#include <net.h>
#include <netif.h>
+#include <bootp.h>
#include <bootparam.h>
#include "dev_net.h"
@@ -217,7 +218,7 @@ net_getparams(sock)
* use RARP and RPC/bootparam (the Sun way) to get them.
*/
if (try_bootp)
- bootp(sock);
+ bootp(sock, BOOTP_NONE);
if (myip.s_addr != 0)
goto exit;
if (debug)
OpenPOWER on IntegriCloud