summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-09-24 15:20:25 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2015-09-24 15:20:25 +0200
commit187bc5dd9df4d92a203c26f5f5cb3fbceabae57d (patch)
tree0d3ae681d1d258ac59a7bfac7f434c2053ed747a
parent287b1f59c74ec5b6cbabc68fc6d0957b67c38846 (diff)
downloadNetworkManager-bg/firewall-zone-pppoe-rh1110465.tar.gz
fixup! device: ensure firewall zone is set on the actual IP interfacebg/firewall-zone-pppoe-rh1110465
-rw-r--r--src/devices/nm-device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 30532b6765..a6dae64b21 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -9001,6 +9001,7 @@ _set_state_full (NMDevice *self,
s_con = nm_connection_get_setting_connection (applied_connection);
zone = nm_setting_connection_get_zone (s_con);
+ g_assert (!priv->fw_call);
priv->fw_call = nm_firewall_manager_add_or_change_zone (nm_firewall_manager_get (),
nm_device_get_ip_iface (self),
zone,