HomeFreeBSD

tests: fix netlink test_dump_ifaces_many test.

Description

tests: fix netlink test_dump_ifaces_many test.

Consider only loopback interfaces when counting.
Otherwise, if pf is loaded, 'pflog0' gets added to the vnet,
breaking the test.

MFC after: 2 weeks

(cherry picked from commit 79748cec1f1c3437e49d7694e95fc7f438336805)

Details

Provenance
melifaroAuthored on Feb 18 2023, 10:26 PM
Parents
rGefd56d95cde2: netlink: do not crash when linux message translation fails.
Branches
Unknown
Tags
Unknown