sd-netlink: do not set action for RTM_GETRULE message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 May 2021 13:32:00 +0000 (22:32 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 May 2021 23:26:00 +0000 (08:26 +0900)
commit3ca619061dfc3c1367900a87f2aa9704d82989f2
tree43cb268857e67d1f790cb2c6327306d503bc479b
parentf318f6438835c6321a1c4ea2a5299942bdc956fb
sd-netlink: do not set action for RTM_GETRULE message

Otherwise, when NETLINK_GET_STRICT_CHK socket option is enabled, no rule
will be dumped.
src/libsystemd/sd-netlink/rtnl-message.c
src/network/networkd-routing-policy-rule.c