diff options
author | Thomas Haller <thaller@redhat.com> | 2014-08-28 17:25:36 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-11-07 15:19:06 +0100 |
commit | 52ddd72bde2324d2ecd78d03b50391e491ffcbec (patch) | |
tree | f7a43033da0282ab91369993c5c212df14459d88 /src/nm-ip4-config.h | |
parent | 36d99dbed5839633b19c43daaeedff1a62b0b19b (diff) |
core: cleanup type of route metric to ensure guint32
Kernel, netlink an NMPlatformRoute treat route metrics as
uint32. Fix several places to use the exact type.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/nm-ip4-config.h')
-rw-r--r-- | src/nm-ip4-config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-ip4-config.h b/src/nm-ip4-config.h index 555f1678a..a7e88d97a 100644 --- a/src/nm-ip4-config.h +++ b/src/nm-ip4-config.h @@ -65,7 +65,7 @@ const char * nm_ip4_config_get_dbus_path (const NMIP4Config *config); /* Integration with nm-platform and nm-setting */ NMIP4Config *nm_ip4_config_capture (int ifindex, gboolean capture_resolv_conf); gboolean nm_ip4_config_commit (const NMIP4Config *config, int ifindex); -void nm_ip4_config_merge_setting (NMIP4Config *config, NMSettingIPConfig *setting, int default_route_metric); +void nm_ip4_config_merge_setting (NMIP4Config *config, NMSettingIPConfig *setting, guint32 default_route_metric); NMSetting *nm_ip4_config_create_setting (const NMIP4Config *config); /* Utility functions */ |