Remove define for SUPPORT_BOOTPARAMS and put in the Makefile instead.

Fix DHCP code so it works.
This commit is contained in:
matt 1998-10-09 06:13:30 +00:00
parent 7d79b82d33
commit 3d8c929799

View File

@ -1,4 +1,4 @@
/* $NetBSD: netio.c,v 1.2 1997/10/05 18:26:38 thorpej Exp $ */
/* $NetBSD: netio.c,v 1.3 1998/10/09 06:13:30 matt Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -111,9 +111,6 @@ int netio_ask = 0; /* default to bootparam, can override */
static char input_line[100];
/* Why be any different? */
#define SUN_BOOTPARAMS
/*
* Called by devopen after it sets f->f_dev to our devsw entry.
* This opens the low-level device and sets f->f_devdata.
@ -261,9 +258,9 @@ netmountroot(f, devname)
printf("Using IP address: %s\n", inet_ntoa(myip));
printf("myip: %s (%s)", hostname, inet_ntoa(myip));
if (gateip)
if (gateip.s_addr)
printf(", gateip: %s", inet_ntoa(gateip));
if (mask)
if (netmask)
printf(", mask: %s", intoa(netmask));
printf("\n");