]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/m_action.c
rdma: Properly mark RDMAtool license
[mirror_iproute2.git] / tc / m_action.c
index d5fd5affe7039d43a90dfe5ef47fb01f56a5774c..b5aff3ab4896d4055f7683434cc9f6140ec7cbcb 100644 (file)
@@ -363,7 +363,7 @@ tc_print_action(FILE *f, const struct rtattr *arg, unsigned short tot_acts)
 
        parse_rtattr_nested(tb, tot_acts, arg);
 
-       if (tab_flush && NULL != tb[0]  && NULL == tb[1])
+       if (tab_flush && tb[0] && !tb[1])
                return tc_print_action_flush(f, tb[0]);
 
        open_json_array(PRINT_JSON, "actions");