mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 19:20:35 +01:00
core: fix integer type of mtu variable
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
714f50dafc
commit
75a0ac080f
2 changed files with 4 additions and 4 deletions
|
|
@ -254,7 +254,7 @@ gboolean
|
|||
nm_ip4_config_commit (const NMIP4Config *config, int ifindex)
|
||||
{
|
||||
NMIP4ConfigPrivate *priv = NM_IP4_CONFIG_GET_PRIVATE (config);
|
||||
int mtu = nm_ip4_config_get_mtu (config);
|
||||
guint32 mtu = nm_ip4_config_get_mtu (config);
|
||||
int i;
|
||||
|
||||
g_return_val_if_fail (ifindex > 0, FALSE);
|
||||
|
|
@ -936,8 +936,8 @@ nm_ip4_config_dump (const NMIP4Config *config, const char *detail)
|
|||
for (i = 0; i < nm_ip4_config_get_num_searches (config); i++)
|
||||
g_message (" search: %s", nm_ip4_config_get_search (config, i));
|
||||
|
||||
g_message (" mss: %u", nm_ip4_config_get_mss (config));
|
||||
g_message (" mtu: %u", nm_ip4_config_get_mtu (config));
|
||||
g_message (" mss: %"G_GUINT32_FORMAT, nm_ip4_config_get_mss (config));
|
||||
g_message (" mtu: %"G_GUINT32_FORMAT, nm_ip4_config_get_mtu (config));
|
||||
|
||||
/* NIS */
|
||||
for (i = 0; i < nm_ip4_config_get_num_nis_servers (config); i++) {
|
||||
|
|
|
|||
|
|
@ -968,7 +968,7 @@ nm_ip6_config_dump (const NMIP6Config *config, const char *detail)
|
|||
for (i = 0; i < nm_ip6_config_get_num_searches (config); i++)
|
||||
g_message (" search: %s", nm_ip6_config_get_search (config, i));
|
||||
|
||||
g_message (" mss: %u", nm_ip6_config_get_mss (config));
|
||||
g_message (" mss: %"G_GUINT32_FORMAT, nm_ip6_config_get_mss (config));
|
||||
g_message (" n-dflt: %d", nm_ip6_config_get_never_default (config));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue