diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2015-05-06 11:31:39 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2015-05-06 11:32:01 +0200 |
commit | 9e4d40855d5bc70d30b814ebe5ca791abc1bcf3f (patch) | |
tree | dd0e2951fbc045c3769e2bc5593823c716522b25 | |
parent | cc5d422c99cb366916ed13781566d1a8ba50c7bf (diff) | |
download | NetworkManager-9e4d40855d5bc70d30b814ebe5ca791abc1bcf3f.tar.gz |
fixup! device: set Ethernet MTU for PPPoE connections in stage2/config
-rw-r--r-- | src/devices/nm-device-ethernet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/nm-device-ethernet.c b/src/devices/nm-device-ethernet.c index 443633a255..0d184a5c16 100644 --- a/src/devices/nm-device-ethernet.c +++ b/src/devices/nm-device-ethernet.c @@ -1301,7 +1301,8 @@ act_stage2_config (NMDevice *device, NMDeviceStateReason *reason) } /* PPPoE setup */ - if (!strcmp (connection_type, NM_SETTING_PPPOE_SETTING_NAME)) { + if (nm_connection_is_type (nm_device_get_connection (device), + NM_SETTING_PPPOE_SETTING_NAME)) { NMSettingPpp *s_ppp; s_ppp = (NMSettingPpp *) device_get_setting (device, NM_TYPE_SETTING_PPP); |