]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/tc_monitor.c
tc: Remove pointless assignments in batch()
[mirror_iproute2.git] / tc / tc_monitor.c
index 077b138d1ec580b8ff0b1315a6beb1ca25cb8ac2..1f1ee08fb9cf89844f92cba2f5594c5ae058a8b4 100644 (file)
@@ -43,7 +43,10 @@ static int accept_tcmsg(const struct sockaddr_nl *who,
        if (timestamp)
                print_timestamp(fp);
 
-       if (n->nlmsg_type == RTM_NEWTFILTER || n->nlmsg_type == RTM_DELTFILTER) {
+       if (n->nlmsg_type == RTM_NEWTFILTER ||
+           n->nlmsg_type == RTM_DELTFILTER ||
+           n->nlmsg_type == RTM_NEWCHAIN ||
+           n->nlmsg_type == RTM_DELCHAIN) {
                print_filter(who, n, arg);
                return 0;
        }