diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-07-16 19:06:01 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-07-16 19:06:01 -1000 |
commit | 230d0f47484e9299077de5649ad81567e5ff4b16 (patch) | |
tree | 59f637a70b794fcb64c99dddf47fdd89bc9368b3 /isys/iface.h | |
parent | d5dba5848d5475d71c3d4945d8cbe1b6d8c8c9fb (diff) | |
download | anaconda-230d0f47484e9299077de5649ad81567e5ff4b16.tar.gz anaconda-230d0f47484e9299077de5649ad81567e5ff4b16.tar.xz anaconda-230d0f47484e9299077de5649ad81567e5ff4b16.zip |
Set interface MTU if user specified mtu= param (#435874)
If the user passed mtu=X as a boot parameter, set the interface
MTU to that value before configuring the network.
Diffstat (limited to 'isys/iface.h')
-rw-r--r-- | isys/iface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/isys/iface.h b/isys/iface.h index cc1f81330..4b0e50f2d 100644 --- a/isys/iface.h +++ b/isys/iface.h @@ -26,3 +26,4 @@ struct nl_cache *iface_get_link_cache(struct nl_handle **handle); char *iface_mac2str(char *ifname); char *iface_ip2str(char *ifname); +int iface_set_interface_mtu(char *ifname, int mtu); |