Skip to content

Commit

Permalink
Remove RELAY_FORWARD and RELAY_REPLY packets handling since inner pac…
Browse files Browse the repository at this point in the history
…kets will be counted.

Handling of these packets type is not expected.
  • Loading branch information
Shlomi Bitton committed Jul 11, 2021
1 parent 0fa4589 commit 5073e76
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dhcpmon/src/dhcp_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ static void handle_dhcpv6_option(dhcp_device_context_t *context,
case DHCPv6_MESSAGE_TYPE_REPLY:
case DHCPv6_MESSAGE_TYPE_RECONFIGURE:
case DHCPv6_MESSAGE_TYPE_INFORMATION_REQUEST:
case DHCPv6_MESSAGE_TYPE_RELAY_FORWARD:
case DHCPv6_MESSAGE_TYPE_RELAY_REPLY:
context->counters.v6counters[DHCP_COUNTERS_CURRENT][dir][dhcp_option]++;
aggregate_dev.counters.v6counters[DHCP_COUNTERS_CURRENT][dir][dhcp_option]++;
break;
Expand Down

0 comments on commit 5073e76

Please sign in to comment.