summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-10-09 09:34:44 +0200
committerLubomir Rintel <lkundrak@v3.sk>2017-10-09 09:34:44 +0200
commit14fcd7149e4634ec168a8ea2b006f32c75b7fc8f (patch)
tree319c4d60e0cbe83fffb4197ffb13b3d187346374
parentc2b8b67294eb74078b1a3a4ecfd29566bfe1690b (diff)
downloadNetworkManager-14fcd7149e4634ec168a8ea2b006f32c75b7fc8f.tar.gz
x
-rw-r--r--src/devices/openvswitch/nm-ovsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/openvswitch/nm-ovsdb.c b/src/devices/openvswitch/nm-ovsdb.c
index a12b1c11ca..22a9968f2d 100644
--- a/src/devices/openvswitch/nm-ovsdb.c
+++ b/src/devices/openvswitch/nm-ovsdb.c
@@ -533,7 +533,7 @@ _insert_interface (json_t *params, NMConnection *interface)
json_pack ("{s:s, s:s, s:{s:s, s:s, s:[s, [[s, s]]]}, s:s}",
"op", "insert", "table", "Interface", "row",
"name", nm_connection_get_interface_name (interface),
- "type", type,
+ "type", type ? type : "",
"external_ids", "map", "NM.connection.uuid", nm_connection_get_uuid (interface),
"uuid-name", "rowInterface"));
}