dankamongmen / libnetstack

Small library around rtnetlink to track networking stack elements
https://nick-black.com/dankwiki/index.php/Libnetstack
Apache License 2.0
10 stars 0 forks source link

Handle DEL netlink messages #10

Closed dankamongmen closed 5 years ago

dankamongmen commented 5 years ago

We need to handle the DEL message corresponding to each object type. They're currently unknown to handle_msg().

dankamongmen commented 5 years ago

You can now differentiate between NEW, MOD, and DEL by examining the etype variable passed to your callback.