diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-12-15 13:32:25 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-12-16 02:52:17 +0100 |
commit | 8f3c1859669230c2c8458675f41de13e369b47e7 (patch) | |
tree | 0bf783f8d3cb0089658f494f2476b8c403786755 /test/TEST-15-DROPIN | |
parent | sd-netlink: support IFLA_PROP_LIST and IFLA_ALT_IFNAME attributes (diff) | |
download | systemd-8f3c1859669230c2c8458675f41de13e369b47e7.tar.xz systemd-8f3c1859669230c2c8458675f41de13e369b47e7.zip |
sd-netlink: introduce sd_netlink_message_read_strv()
The combination of sd_netlink_message_enter_container() and
sd_netlink_message_read_string() only reads the last element if the attribute is
duplicated, such a situation easily happens for IFLA_ALT_IFNAME.
The function introduced here reads all matched attributes.
Diffstat (limited to 'test/TEST-15-DROPIN')
0 files changed, 0 insertions, 0 deletions