X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fudev%2Fnet%2Flink-config-gperf.gperf;h=f562498f6d9d3f5a490cd2ea8ed61f5057bf0bb8;hb=deb2e5230b4dcbc0e2e02cc47a0b2d0d7179a044;hp=3384ca0418b3e22229c6049158ce75c85f179b0b;hpb=733f7a2c69c794a81978a08a79916c224ba355a6;p=elogind.git diff --git a/src/udev/net/link-config-gperf.gperf b/src/udev/net/link-config-gperf.gperf index 3384ca041..f562498f6 100644 --- a/src/udev/net/link-config-gperf.gperf +++ b/src/udev/net/link-config-gperf.gperf @@ -1,7 +1,7 @@ %{ #include #include "conf-parser.h" -#include "net-util.h" +#include "network-internal.h" #include "link-config.h" #include "ethtool-util.h" %} @@ -30,7 +30,7 @@ Link.MACAddress, config_parse_hwaddr, 0, Link.NamePolicy, config_parse_name_policy, 0, offsetof(link_config, name_policy) Link.Name, config_parse_ifname, 0, offsetof(link_config, name) Link.Alias, config_parse_ifalias, 0, offsetof(link_config, alias) -Link.MTUBytes, config_parse_bytes_size, 0, offsetof(link_config, mtu) -Link.BitsPerSecond, config_parse_bytes_size, 0, offsetof(link_config, speed) +Link.MTUBytes, config_parse_iec_size, 0, offsetof(link_config, mtu) +Link.BitsPerSecond, config_parse_si_size, 0, offsetof(link_config, speed) Link.Duplex, config_parse_duplex, 0, offsetof(link_config, duplex) Link.WakeOnLan, config_parse_wol, 0, offsetof(link_config, wol)