diff options
author | Jeremy Katz <katzj@redhat.com> | 2005-03-28 19:11:42 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2005-03-28 19:11:42 +0000 |
commit | bb11bd9f01292cd79027c525db4c0d271c2172b4 (patch) | |
tree | 881a27d28c96352767336d570280ac62a1d3dc99 | |
parent | 918e431aa0d5e5adc072a1d65ffc6479c3a51b37 (diff) | |
download | anaconda-bb11bd9f01292cd79027c525db4c0d271c2172b4.tar.gz anaconda-bb11bd9f01292cd79027c525db4c0d271c2172b4.tar.xz anaconda-bb11bd9f01292cd79027c525db4c0d271c2172b4.zip |
2005-03-28 Jeremy Katz <katzj@redhat.com>
* loader2/loader.c (parseCmdLineFlags): Allow setting mtu on the
command line (#151789)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | loader2/loader.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-03-28 Jeremy Katz <katzj@redhat.com> + + * loader2/loader.c (parseCmdLineFlags): Allow setting mtu on the + command line (#151789) + 2005-03-28 Chris Lumens <clumens@redhat.com> * language.py (setDefault): Check all forms of the language nick in diff --git a/loader2/loader.c b/loader2/loader.c index 266b77c0c..e8428da08 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -606,6 +606,8 @@ static int parseCmdLineFlags(int flags, struct loaderData_s * loaderData, loaderData->ethtool = strdup(argv[i] + 8); else if (!strncasecmp(argv[i], "essid=", 6)) loaderData->essid = strdup(argv[i] + 6); + else if (!strncasecmp(argv[i], "mtu=", 4)) + loaderData->mtu = atoi(argv[i] + 4); else if (!strncasecmp(argv[i], "wepkey=", 7)) loaderData->wepkey = strdup(argv[i] + 7); else if (!strncasecmp(argv[i], "linksleep=", 10)) |