summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dhcp.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-04-14 13:29:00 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-04-14 13:29:00 +0000
commit2b1d396f45f390b84a59ebbf1ce5f069d7b0d946 (patch)
tree2424320b688115f9e03a5ed2e4da25e9f76c72b3 /mdk-stage1/dhcp.c
parent89e6f5070d94fe03a914e0c4a7c5766fbfdb7431 (diff)
downloaddrakx-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar
drakx-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar.gz
drakx-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar.bz2
drakx-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar.xz
drakx-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.zip
put dhcp bootfile under netauto parameter
Diffstat (limited to 'mdk-stage1/dhcp.c')
-rw-r--r--mdk-stage1/dhcp.c2
1 files changed, 1 insertions, 1 deletions
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);