network/address-label: several cleanups for conf parsers
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 17 Aug 2024 03:38:44 +0000 (12:38 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Aug 2024 11:48:48 +0000 (20:48 +0900)
commit4dfbecd2fff4598beba7a10c7cf6f84aaedab200
treef687d23a162613725387c5484df24b4e8043f21f
parentc95fa6acb5af9b2c2fbf909ba9958a8ab503cbfa
network/address-label: several cleanups for conf parsers

- Check userdata, instead of data, though they point to the same
  position.
- Support an empty string.
- Use UINT32_MAX, as the label is uint32_t.
src/network/networkd-address-label.c