summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-02 16:20:07 +0100
committerThomas Haller <thaller@redhat.com>2017-01-04 14:18:01 +0100
commit15d8634b9a8a18015a5cdb916be663e85b45acd5 (patch)
tree5797f2c08ab14e20b8d56617f80ab6ca4c072b19
parent0eb4b404f25f711d27171064b993974b220a4b94 (diff)
downloadNetworkManager-15d8634b9a8a18015a5cdb916be663e85b45acd5.tar.gz
trivial: rename reload_tun_properties() to update_properties()
That is what the function is called in other device implementations.
-rw-r--r--src/devices/nm-device-tun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device-tun.c b/src/devices/nm-device-tun.c
index 45b1eebdb7..bb66c50f80 100644
--- a/src/devices/nm-device-tun.c
+++ b/src/devices/nm-device-tun.c
@@ -71,7 +71,7 @@ G_DEFINE_TYPE (NMDeviceTun, nm_device_tun, NM_TYPE_DEVICE)
/*****************************************************************************/
static void
-reload_tun_properties (NMDeviceTun *self)
+update_properties (NMDeviceTun *self)
{
NMDeviceTunPrivate *priv = NM_DEVICE_TUN_GET_PRIVATE (self);
GObject *object = G_OBJECT (self);
@@ -126,7 +126,7 @@ link_changed (NMDevice *device,
const NMPlatformLink *pllink)
{
NM_DEVICE_CLASS (nm_device_tun_parent_class)->link_changed (device, pllink);
- reload_tun_properties (NM_DEVICE_TUN (device));
+ update_properties (NM_DEVICE_TUN (device));
}
static gboolean