netdev-vport: Don't create port when ovs-monitor-ipsec not running.
[openvswitch] / utilities / ovs-dpctl.c
index f79909a1f30c532ee5fbf3f5ddadb9248b9bf8e6..658f6ba106b3f6c0da6b7790edea15acc20e5037 100644 (file)
@@ -241,7 +241,7 @@ do_add_if(int argc OVS_UNUSED, char *argv[])
         }
 
         shash_init(&args);
-        while ((option = strtok_r(NULL, "", &save_ptr)) != NULL) {
+        while ((option = strtok_r(NULL, ",", &save_ptr)) != NULL) {
             char *save_ptr_2 = NULL;
             char *key, *value;