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:
parent
ce2e75021c
commit
27b13df45a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user