path: root/tests/py/inet/icmp.t.payload
Commit message (Collapse)AuthorAgeFilesLines
* netlink_delinearize: Refactor meta_may_dependency_kill()Phil Sutter2018-06-261-0/+54
The original intent was to fix a bug: The following rule in inet table: | meta nfproto ipv4 icmpv6 type echo-reply Was added correctly but when printing the meta match was falsely removed. The fix is to deny dependency killing if RHS family of nfproto match doesn't match RHS family of l4proto match. Adding this to the already large conditional led to even more unreadable code, therefore this patch tries to clean that up (and also removes the partial code duplication. Signed-off-by: Phil Sutter <> Signed-off-by: Florian Westphal <>