Skip to content

Commit

Permalink
sonic-swss/orchagent: Add new protocol trap name support (#1087)
Browse files Browse the repository at this point in the history
* Added new protocol trap name support
  • Loading branch information
jpxjlrldgit authored and prsunny committed Oct 12, 2019
1 parent 9f765f7 commit 80b2ace
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion orchagent/copporch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ static map<string, sai_hostif_trap_type_t> trap_id_map = {
{"router_custom_range", SAI_HOSTIF_TRAP_TYPE_ROUTER_CUSTOM_RANGE_BASE},
{"l3_mtu_error", SAI_HOSTIF_TRAP_TYPE_L3_MTU_ERROR},
{"ttl_error", SAI_HOSTIF_TRAP_TYPE_TTL_ERROR},
{"udld", SAI_HOSTIF_TRAP_TYPE_UDLD}
{"udld", SAI_HOSTIF_TRAP_TYPE_UDLD},
{"bfd", SAI_HOSTIF_TRAP_TYPE_BFD},
{"bfdv6", SAI_HOSTIF_TRAP_TYPE_BFDV6}
};

static map<string, sai_packet_action_t> packet_action_map = {
Expand Down

0 comments on commit 80b2ace

Please sign in to comment.