summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-ethernet.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-01-14 16:36:33 +0100
committerThomas Haller <thaller@redhat.com>2017-01-16 17:24:36 +0100
commit175ef8f611888c23736d0d593e1512ac2770ea48 (patch)
tree6734c072869df892eae980fbfc3229d929ddda4f /src/devices/nm-device-ethernet.c
parentf8227029fef7ad31e92ac561bbe77453fbef5675 (diff)
downloadNetworkManager-175ef8f611888c23736d0d593e1512ac2770ea48.tar.gz
ppp: use defines for signal names
Diffstat (limited to 'src/devices/nm-device-ethernet.c')
-rw-r--r--src/devices/nm-device-ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c
index 07f60d05b8..8de4e3bcb5 100644
--- a/src/devices/nm-device-ethernet.c
+++ b/src/devices/nm-device-ethernet.c
@@ -1055,10 +1055,10 @@ pppoe_stage3_ip4_config_start (NMDeviceEthernet *self, NMDeviceStateReason *reas
&& nm_ppp_manager_start (priv->ppp_manager, req,
nm_setting_pppoe_get_username (s_pppoe),
30, 0, &err)) {
- g_signal_connect (priv->ppp_manager, NM_PPP_MANAGER_STATE_CHANGED,
+ g_signal_connect (priv->ppp_manager, NM_PPP_MANAGER_SIGNAL_STATE_CHANGED,
G_CALLBACK (ppp_state_changed),
self);
- g_signal_connect (priv->ppp_manager, "ip4-config",
+ g_signal_connect (priv->ppp_manager, NM_PPP_MANAGER_SIGNAL_IP4_CONFIG,
G_CALLBACK (ppp_ip4_config),
self);
ret = NM_ACT_STAGE_RETURN_POSTPONE;