Skip to content

Commit 5073e76

Browse files
author
Shlomi Bitton
committed
Remove RELAY_FORWARD and RELAY_REPLY packets handling since inner packets will be counted.
Handling of these packets type is not expected.
1 parent 0fa4589 commit 5073e76

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/dhcpmon/src/dhcp_device.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,6 @@ static void handle_dhcpv6_option(dhcp_device_context_t *context,
223223
case DHCPv6_MESSAGE_TYPE_REPLY:
224224
case DHCPv6_MESSAGE_TYPE_RECONFIGURE:
225225
case DHCPv6_MESSAGE_TYPE_INFORMATION_REQUEST:
226-
case DHCPv6_MESSAGE_TYPE_RELAY_FORWARD:
227-
case DHCPv6_MESSAGE_TYPE_RELAY_REPLY:
228226
context->counters.v6counters[DHCP_COUNTERS_CURRENT][dir][dhcp_option]++;
229227
aggregate_dev.counters.v6counters[DHCP_COUNTERS_CURRENT][dir][dhcp_option]++;
230228
break;

0 commit comments

Comments
 (0)