]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/iproute.c
ip route: Print "rt_offload" and "rt_trap" indication
[mirror_iproute2.git] / ip / iproute.c
index 32bb52df250c25acd6031325ffe89009004f978a..93b805c9004d65c1917d94724b79448b4c3cd40b 100644 (file)
@@ -368,6 +368,10 @@ void print_rt_flags(FILE *fp, unsigned int flags)
                print_string(PRINT_ANY, NULL, "%s ", "linkdown");
        if (flags & RTNH_F_UNRESOLVED)
                print_string(PRINT_ANY, NULL, "%s ", "unresolved");
+       if (flags & RTM_F_OFFLOAD)
+               print_string(PRINT_ANY, NULL, "%s ", "rt_offload");
+       if (flags & RTM_F_TRAP)
+               print_string(PRINT_ANY, NULL, "%s ", "rt_trap");
 
        close_json_array(PRINT_JSON, NULL);
 }