diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-01-27 05:42:12 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-01-27 05:42:12 +0000 |
commit | b1023d7737f36c7e8f2affef9d337255cc8806aa (patch) | |
tree | 3c228f563468b9641a8cbb4b2f0dcac695caacd2 /loader2/telnetd.c | |
parent | d8896c491b220ee7c7c158eae713fd84a3ec9f60 (diff) | |
download | anaconda-b1023d7737f36c7e8f2affef9d337255cc8806aa.tar.gz anaconda-b1023d7737f36c7e8f2affef9d337255cc8806aa.tar.xz anaconda-b1023d7737f36c7e8f2affef9d337255cc8806aa.zip |
fix for change in kickstartNetworkUp invocation
Diffstat (limited to 'loader2/telnetd.c')
-rw-r--r-- | loader2/telnetd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/loader2/telnetd.c b/loader2/telnetd.c index 796322523..c6c6343cd 100644 --- a/loader2/telnetd.c +++ b/loader2/telnetd.c @@ -223,12 +223,14 @@ int beTelnet(int flags) { void startTelnetd(struct knownDevices * kd, struct loaderData_s * loaderData, moduleInfoSet modInfo, moduleList modLoaded, moduleDeps modDeps, int flags) { - if (kickstartNetworkUp(kd, loaderData, flags)) { + struct networkDeviceConfig netCfg; + + if (kickstartNetworkUp(kd, loaderData, &netCfg, flags)) { logMessage("unable to bring up network"); return; } - logMessage("going to beTelnet"); + logMessage("going to beTelnet for %s", inet_ntoa(netCfg.dev.ip)); if (!beTelnet(flags)) flags |= LOADER_FLAGS_TEXT | LOADER_FLAGS_NOSHELL; |