]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: nexthop: refuse 0 id
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 4 Feb 2021 14:22:27 +0000 (23:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 17 Feb 2021 06:55:37 +0000 (15:55 +0900)
commitacfd8491fb7dc0bdb0508ef1d6c462491d26ed84
tree627afb483124c445269192dd80e7e54afeb133f7
parentf1923efccbb8d03ca16e6ee48aedea309ede2c75
network: nexthop: refuse 0 id

We usually do not accept values which will be handled as unspecified.
Instead, this makes config_parse_nexthop_id() accept an empty string.
src/network/networkd-nexthop.c