summaryrefslogtreecommitdiff
path: root/src/devices/nm-device-vlan.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-05 17:11:57 -0400
committerDan Winship <danw@gnome.org>2014-09-04 09:18:44 -0400
commit7d233cc956cbd12090e517a4adb369c30ad4d38a (patch)
treeab04c8cf8d7e4590614344c636b40d711d3fecde /src/devices/nm-device-vlan.c
parent6217c1e74c093b95b16880a30286c8e60a6fb746 (diff)
downloadNetworkManager-7d233cc956cbd12090e517a4adb369c30ad4d38a.tar.gz
core: abstract out the duplicated default-ifname-generating code
NMDeviceBond, NMDeviceBridge, and NMDeviceTeam all used basically the same code to generate a default interface name. Move it into nm_utils_complete_generic().
Diffstat (limited to 'src/devices/nm-device-vlan.c')
-rw-r--r--src/devices/nm-device-vlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/nm-device-vlan.c b/src/devices/nm-device-vlan.c
index 3316bd67bd..817e3d2ac0 100644
--- a/src/devices/nm-device-vlan.c
+++ b/src/devices/nm-device-vlan.c
@@ -228,6 +228,7 @@ complete_connection (NMDevice *device,
existing_connections,
NULL,
_("VLAN connection"),
+ NULL,
TRUE);
s_vlan = nm_connection_get_setting_vlan (connection);