google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.63k stars 511 forks source link

netlink: Make tests work with newer `libnl` #130

Closed hazaelsan closed 1 year ago

hazaelsan commented 1 year ago

libnl 3.5.0 started setting NLA_F_NESTED to mark nested attributes in netlink messages.

As seen in #128, this causes tests to fail in some distros with newer libnl installations.

Since we don't actually need newer libnl versions, we can simply modify these tests to accept both behaviors.