diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-06-28 21:38:11 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-06-28 21:38:11 +0000 |
commit | a33dd66401cb79aff9027af0956c58106180ffc4 (patch) | |
tree | dc9f9f9719d034456357f913f9b841a6ae1f73af | |
parent | c52d1fba8108e5734bf8ff7f74eb89f5c84ecaf1 (diff) | |
download | anaconda-a33dd66401cb79aff9027af0956c58106180ffc4.tar.gz anaconda-a33dd66401cb79aff9027af0956c58106180ffc4.tar.xz anaconda-a33dd66401cb79aff9027af0956c58106180ffc4.zip |
don't disable interfaces in test mode
-rw-r--r-- | loader2/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/net.c b/loader2/net.c index 250149481..f039cf819 100644 --- a/loader2/net.c +++ b/loader2/net.c @@ -1022,7 +1022,8 @@ int chooseNetworkInterface(struct loaderData_s * loaderData, * you keep using that device */ for (i = 0; devs[i]; i++) { if (strcmp(loaderData->netDev, devices[i])) - pumpDisableInterface(devs[i]->device); + if (!FL_TESTING(flags)) + pumpDisableInterface(devs[i]->device); } return LOADER_OK; |