diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-04-14 13:29:00 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-04-14 13:29:00 +0000 |
commit | 2b1d396f45f390b84a59ebbf1ce5f069d7b0d946 (patch) | |
tree | 2424320b688115f9e03a5ed2e4da25e9f76c72b3 /mdk-stage1/dhcp.c | |
parent | 89e6f5070d94fe03a914e0c4a7c5766fbfdb7431 (diff) | |
download | drakx-backup-do-not-use-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar drakx-backup-do-not-use-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar.gz drakx-backup-do-not-use-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar.bz2 drakx-backup-do-not-use-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.tar.xz drakx-backup-do-not-use-2b1d396f45f390b84a59ebbf1ce5f069d7b0d946.zip |
put dhcp bootfile under netauto parameter
Diffstat (limited to 'mdk-stage1/dhcp.c')
-rw-r--r-- | mdk-stage1/dhcp.c | 2 |
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); |