diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-12 21:43:37 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 01:24:13 +0200 |
commit | cee683394328ae271348fad93c3474b5784bcc78 (patch) | |
tree | ee0bc1c92f7ff4c2d45726240ac4286934345243 /src/network/networkd-network.c | |
parent | hwdb: add touchpad parameters for Lenovo T15g Gen1 (#23373) (diff) | |
download | systemd-cee683394328ae271348fad93c3474b5784bcc78.tar.xz systemd-cee683394328ae271348fad93c3474b5784bcc78.zip |
network: do not update interface group by default
This fixes a minor bug introduced by 10af8bb24b39a815079f6bf31b449c6e5aaa2adf.
Before the commit, the interface group was set only when Group= is explicitly
specified, otherwise the interface group was kept. However, after the commit,
we need to specify Group= with an empty string to keep the current interface
group.
Diffstat (limited to '')
-rw-r--r-- | src/network/networkd-network.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c index c0b8e3893c..39ea4eddd0 100644 --- a/src/network/networkd-network.c +++ b/src/network/networkd-network.c @@ -383,6 +383,7 @@ int network_load_one(Manager *manager, OrderedHashmap **networks, const char *fi .required_for_online = -1, .required_operstate_for_online = LINK_OPERSTATE_RANGE_DEFAULT, .activation_policy = _ACTIVATION_POLICY_INVALID, + .group = -1, .arp = -1, .multicast = -1, .allmulticast = -1, |