diff options
| author | David Cantrell <dcantrell@redhat.com> | 2007-03-21 21:06:48 +0000 |
|---|---|---|
| committer | David Cantrell <dcantrell@redhat.com> | 2007-03-21 21:06:48 +0000 |
| commit | f3ffd9d2ce64f9bbdf650e1f05c1d3beeeffe7ef (patch) | |
| tree | 00e37aa666b1b07aece04294304b698d10acfcf2 /loader2/loader.c | |
| parent | 5574fc323590cc6bdb3c3a58b94392a03004ef3b (diff) | |
| download | anaconda-f3ffd9d2ce64f9bbdf650e1f05c1d3beeeffe7ef.tar.gz anaconda-f3ffd9d2ce64f9bbdf650e1f05c1d3beeeffe7ef.tar.xz anaconda-f3ffd9d2ce64f9bbdf650e1f05c1d3beeeffe7ef.zip | |
* loader2/loader.c (parseCmdLineIp): Don't set ipinfo_set to true here,
otherwise we don't bring the interface up later when we need to. Just
collect information here (#233152).
Diffstat (limited to 'loader2/loader.c')
| -rw-r--r-- | loader2/loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader2/loader.c b/loader2/loader.c index fb654fc07..aa8101e32 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -514,7 +514,7 @@ static void parseCmdLineIp(struct loaderData_s * loaderData, char *argv) start = argv + 3; end = strstr(start, ":"); loaderData->ip = strndup(start, end-start); - loaderData->ipinfo_set = 1; + loaderData->ipinfo_set = 0; /* Boot server */ if (end + 1 == '\0') @@ -542,7 +542,7 @@ static void parseCmdLineIp(struct loaderData_s * loaderData, char *argv) loaderData->netmask = strdup(start); } else { loaderData->ip = strdup(argv + 3); - loaderData->ipinfo_set = 1; + loaderData->ipinfo_set = 0; } } |
