Code

netlink plugin: Fix several issues, including the collection of classes and filters.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 1 Sep 2007 13:39:38 +0000 (15:39 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 1 Sep 2007 13:39:38 +0000 (15:39 +0200)
commitfacabb58bdc697a16df73e8f783ec359c3f0cd85
tree1ebff53161f9a38e17aaa1390b83858b22863561
parent29f72849eb708b68fc7e153717aa1d4068e3ad9d
netlink plugin: Fix several issues, including the collection of classes and filters.

When requesting qdiscs for ifindex == 0 you get the qdiscs of all interfaces.
The same doesn't work for classes and filters.
This commit changes the behavior to iterate over a list of interfaces and
request qdiscs, classes and filters for each interface seperately. The
ignorelist is checked before sending a request to avoid unnecessary requests.

Newlines have been removed from error messages.
src/netlink.c