]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: add some more netlink RTA_ strings 15986/head
authorMark Stapp <mjs@cisco.com>
Thu, 9 May 2024 20:56:07 +0000 (16:56 -0400)
committerMark Stapp <mjs@cisco.com>
Thu, 9 May 2024 20:56:07 +0000 (16:56 -0400)
Add a few more RTA_ attribute names to the netlink debug
output.

Signed-off-by: Mark Stapp <mjs@cisco.com>
zebra/debug_nl.c

index a7cccdb98ffd50ad356a63df88b6a10328f7f972..037d0b6237d270d82024016bfe32be0eb4886794 100644 (file)
@@ -534,6 +534,12 @@ const char *rtm_rta2str(int type)
                return "NH_ID";
        case RTA_EXPIRES:
                return "EXPIRES";
+       case RTA_VIA:
+               return "VIA";
+       case RTA_ENCAP_TYPE:
+               return "RTA_ENCAP_TYPE";
+       case RTA_ENCAP:
+               return "RTA_ENCAP";
        default:
                return "UNKNOWN";
        }