diff options
author | Tomasz Pala <gotar@polanet.pl> | 2022-05-18 18:11:42 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-18 22:04:26 +0200 |
commit | d1df0466d9d312eb06dac2bd41e85a15061e7429 (patch) | |
tree | 0580486104d9d3ef6f271bac419c8bfcf55c251b /src/udev/net | |
parent | Merge pull request #23417 from bnf/docs-dark-mode (diff) | |
download | systemd-d1df0466d9d312eb06dac2bd41e85a15061e7429.tar.xz systemd-d1df0466d9d312eb06dac2bd41e85a15061e7429.zip |
udev: fixed config_parse_ifalias() logic not to skip setting IFLA_IFALIAS
this flaw was introduced in 6a74900002981eacbde382f659ab706ca36155cc
Diffstat (limited to 'src/udev/net')
-rw-r--r-- | src/udev/net/link-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c index 42745b6c59..28c0e633a3 100644 --- a/src/udev/net/link-config.c +++ b/src/udev/net/link-config.c @@ -993,7 +993,7 @@ int config_parse_ifalias( assert(rvalue); assert(data); - if (!isempty(rvalue)) { + if (isempty(rvalue)) { *s = mfree(*s); return 0; } |