Skip to content

Commit

Permalink
zebra: Add RTM_XXXCHAIN to string outputs
Browse files Browse the repository at this point in the history
Let's get some meaningful string output for when FRR receives
these messages.

Signed-off-by: Donald Sharp <[email protected]>
  • Loading branch information
donaldsharp committed Oct 12, 2023
1 parent 9bc4d9e commit 6fe6abf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zebra/kernel_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ static const struct message nlmsg_str[] = {{RTM_NEWROUTE, "RTM_NEWROUTE"},
{RTM_NEWVLAN, "RTM_NEWVLAN"},
{RTM_DELVLAN, "RTM_DELVLAN"},
{RTM_GETVLAN, "RTM_GETVLAN"},
{RTM_NEWCHAIN, "RTM_NEWCHAIN"},
{RTM_DELCHAIN, "RTM_DELCHAIN"},
{RTM_GETCHAIN, "RTM_GETCHAIN"},
{0}};

static const struct message rtproto_str[] = {
Expand Down

0 comments on commit 6fe6abf

Please sign in to comment.