Skip to content

Commit

Permalink
zebra: add some more netlink RTA_ strings
Browse files Browse the repository at this point in the history
Add a few more RTA_ attribute names to the netlink debug
output.

Signed-off-by: Mark Stapp <[email protected]>
  • Loading branch information
Mark Stapp committed May 9, 2024
1 parent 0c9ce7a commit 6afb696
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zebra/debug_nl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit 6afb696

Please sign in to comment.