1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

udev: fixed config_parse_ifalias() logic not to skip setting IFLA_IFALIAS

this flaw was introduced in 6a74900002
This commit is contained in:
Tomasz Pala 2022-05-18 18:11:42 +02:00 committed by Yu Watanabe
parent e4885958dc
commit d1df0466d9

View File

@ -993,7 +993,7 @@ int config_parse_ifalias(
assert(rvalue);
assert(data);
if (!isempty(rvalue)) {
if (isempty(rvalue)) {
*s = mfree(*s);
return 0;
}