]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-network/sd-network.c
sd-network: accept all space-like separators
[thirdparty/systemd.git] / src / libsystemd / sd-network / sd-network.c
index e4f5f9bc03173abb72c9316f067ebeda41a861de..92ee8bc073ccb1d3f5c12f8e4535745c9f36b4ea 100644 (file)
@@ -73,7 +73,7 @@ static int network_get_strv(const char *key, char ***ret) {
                 return 0;
         }
 
-        a = strv_split(s, " ");
+        a = strv_split(s, NULL);
         if (!a)
                 return -ENOMEM;
 
@@ -138,7 +138,7 @@ static int network_link_get_strv(int ifindex, const char *key, char ***ret) {
                 return 0;
         }
 
-        a = strv_split(s, " ");
+        a = strv_split(s, NULL);
         if (!a)
                 return -ENOMEM;