summaryrefslogtreecommitdiff
path: root/src/devices/nm-device.h
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-04-20 17:46:41 +0200
committerThomas Haller <thaller@redhat.com>2016-04-20 17:53:58 +0200
commit2158d6a5a868ae0d274c45b05425f76ba3e677d7 (patch)
tree2cead1bd80d4e4b82ba6ffc071a11562ee2090de /src/devices/nm-device.h
parent34964273ee5f808eae601e32cb23275a8988e3e1 (diff)
downloadNetworkManager-2158d6a5a868ae0d274c45b05425f76ba3e677d7.tar.gz
manager: fix wrongly removing DNS configuration on shutdown
When NetworkManager exits, it must preserve the DNS configuration of devices that are left up. Fixes: 9498ea507eb1d5042736c4351337e91b9c13bdf6
Diffstat (limited to 'src/devices/nm-device.h')
-rw-r--r--src/devices/nm-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.h b/src/devices/nm-device.h
index 2221ede12d..9f6898505c 100644
--- a/src/devices/nm-device.h
+++ b/src/devices/nm-device.h
@@ -385,7 +385,7 @@ gboolean nm_device_has_unmodified_applied_connection (NMDevice *self,
NMSettingCompareFlags compare_flags);
NMSetting * nm_device_get_applied_setting (NMDevice *dev, GType setting_type);
-void nm_device_removed (NMDevice *dev);
+void nm_device_removed (NMDevice *self, gboolean unconfigure_ip_config);
gboolean nm_device_is_available (NMDevice *dev, NMDeviceCheckDevAvailableFlags flags);
gboolean nm_device_has_carrier (NMDevice *dev);