]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/m_ipt.c
tc: skip actions that don't have options attribute when printing
[mirror_iproute2.git] / tc / m_ipt.c
index cc95eab7fefba7e44c076a62e37d598952ee3d47..046b310e64ab752231186bd8f0823bfa1178d57c 100644 (file)
@@ -433,7 +433,7 @@ print_ipt(struct action_util *au, FILE * f, struct rtattr *arg)
        __u32 hook;
 
        if (arg == NULL)
-               return -1;
+               return 0;
 
        lib_dir = getenv("IPTABLES_LIB_DIR");
        if (!lib_dir)