]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-network.c
network: change link group type to int32
authorSlava Bacherikov <slava@bacher09.org>
Sat, 13 Nov 2021 12:43:04 +0000 (14:43 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 15 Nov 2021 16:53:46 +0000 (01:53 +0900)
commit10af8bb24b39a815079f6bf31b449c6e5aaa2adf
tree8824e605764129cae3805aeaee893e30c10dceb5
parente44a47d186a176ac6ca4644b75f7fd9dbfd306b7
network: change link group type to int32

Both linux kernel kernel and iproute2 uses int32 type for a link group
attribute and -1 has a special meaning, so setting it to 4294967295
would make it -1 in the linux kernel (and ip link cmd).
man/systemd.network.xml
src/network/networkd-network.c
src/network/networkd-network.h
src/network/networkd-setlink.c