sd-network: accept all space-like separators

This commit is contained in:
Yu Watanabe
2022-09-27 10:42:31 +09:00
parent ce2e75021c
commit 27b13df45a
+2 -2
View 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;