From 2b1d396f45f390b84a59ebbf1ce5f069d7b0d946 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 Apr 2003 13:29:00 +0000 Subject: put dhcp bootfile under netauto parameter --- mdk-stage1/dhcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/dhcp.c') diff --git a/mdk-stage1/dhcp.c b/mdk-stage1/dhcp.c index bae74c9f4..06a225464 100644 --- a/mdk-stage1/dhcp.c +++ b/mdk-stage1/dhcp.c @@ -211,7 +211,7 @@ static void parse_reply(struct bootp_request * breq, struct interface_info * int unsigned char * chptr; unsigned char option, length; - if (breq->bootfile && strlen(breq->bootfile) > 0) + if (breq->bootfile && strlen(breq->bootfile) > 0 && IS_NETAUTO) stage2_kickstart = strdup(breq->bootfile); memcpy(&intf->ip, &breq->yiaddr, 4); -- cgit v1.2.1