summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2017-09-14 10:25:36 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2017-09-14 10:52:55 +0200
commitce9f3934f015642656148e05fe5b318b72c72eb0 (patch)
tree1069c057cfd7454d55b1448b3159d0fe1d486350
parent85984dc70c370bdfc8b7328621fa242b3cffa9af (diff)
downloadNetworkManager-bg/manager-parent-warnings-rh1490157.tar.gz
vlan: improve error message on missing parent ifindexbg/manager-parent-warnings-rh1490157
The message should only tell what went wrong.
-rw-r--r--src/devices/nm-device-vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-vlan.c b/src/devices/nm-device-vlan.c
index 4d02b4ad2b..171af14e02 100644
--- a/src/devices/nm-device-vlan.c
+++ b/src/devices/nm-device-vlan.c
@@ -239,7 +239,7 @@ create_and_realize (NMDevice *device,
parent_ifindex = nm_device_get_ifindex (parent);
if (parent_ifindex <= 0) {
g_set_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_MISSING_DEPENDENCIES,
- "cannot retrieve ifindex of interface %s (%s): skip VLAN creation for now",
+ "cannot retrieve ifindex of interface %s (%s)",
nm_device_get_iface (parent),
nm_device_get_type_desc (parent));
return FALSE;