summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-03-28 19:11:42 +0000
committerJeremy Katz <katzj@redhat.com>2005-03-28 19:11:42 +0000
commitbb11bd9f01292cd79027c525db4c0d271c2172b4 (patch)
tree881a27d28c96352767336d570280ac62a1d3dc99
parent918e431aa0d5e5adc072a1d65ffc6479c3a51b37 (diff)
downloadanaconda-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--ChangeLog5
-rw-r--r--loader2/loader.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a3f91ea0f..0dc143b0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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))