]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/tc_red.c
tc: m_action: check cookie hex string len
[mirror_iproute2.git] / tc / tc_red.c
index 3ce3ca4287d3f6441740af34e9fb55d1d64c2baf..88f5ff358ce5596cac86790bd9acdd2e4edc278a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * tc_red.c            RED maintanance routines.
+ * tc_red.c            RED maintenance routines.
  *
  *             This program is free software; you can redistribute it and/or
  *             modify it under the terms of the GNU General Public License
@@ -116,4 +116,9 @@ void tc_red_print_flags(__u32 flags)
                print_bool(PRINT_ANY, "adaptive", "adaptive ", true);
        else
                print_bool(PRINT_ANY, "adaptive", NULL, false);
+
+       if (flags & TC_RED_NODROP)
+               print_bool(PRINT_ANY, "nodrop", "nodrop ", true);
+       else
+               print_bool(PRINT_ANY, "nodrop", NULL, false);
 }