diff options
Diffstat (limited to 'loader/net.c')
-rw-r--r-- | loader/net.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c index e5f73fc9d..136edbd9a 100644 --- a/loader/net.c +++ b/loader/net.c @@ -579,8 +579,16 @@ int kickstartNetwork(char * device, struct networkDeviceConfig * netDev, return -1; } netDev->isDynamic = 1; - } else { + } else if (!strcmp(bootProto, "static")) { strcpy(netDev->dev.device, device); + } else if (!strcmp(bootProto, "query")) { + strcpy(netDev->dev.device, device); + readNetConfig("eth0", netDev, flags); + } else { + newtWinMessage(_("kickstart"), _("OK"), + _("Bad bootproto %s specified in network command"), + bootProto); + return -1; } fillInIpInfo(netDev); |