1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 23:21:22 +03:00

sd-network: accept all space-like separators

This commit is contained in:
Yu Watanabe 2022-09-24 09:05:05 +09:00
parent ce2e75021c
commit 27b13df45a

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;