summaryrefslogtreecommitdiff
path: root/sys/boot/common/dev_net.c
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-08-11 08:36:17 +0000
committerPaul Saab <ps@FreeBSD.org>2000-08-11 08:36:17 +0000
commit646cf5017b12d48302903665004921f80f3e373d (patch)
tree3c033040486d5b6c12df7e426c452821c246f56f /sys/boot/common/dev_net.c
parent00f4e1767cc042ad41ea0c5b81ef3310cdeb0761 (diff)
Notes
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 c88dae708d25..884366f1e1ee 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)