Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/dhcp_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,16 @@ static void dhcp_print_counters_v6(const std::string &ifname, dhcp_counters_type
DHCP_COUNTER_WIDTH, rx_counter.at(DHCPV6_MESSAGE_TYPE_REPLY),
DHCP_COUNTER_WIDTH, tx_counter.at(DHCPV6_MESSAGE_TYPE_REPLY)
);
syslog(
LOG_INFO,
"[%*s -%*s rx/tx] Relay-Forward: %*" PRIu64 "/%*" PRIu64
", Relay-Reply: %*" PRIu64 "/%*" PRIu64,
IF_NAMESIZE, ifname.c_str(), 13, counter_desc[type],
DHCP_COUNTER_WIDTH, rx_counter.at(DHCPV6_MESSAGE_TYPE_RELAY_FORW),
DHCP_COUNTER_WIDTH, tx_counter.at(DHCPV6_MESSAGE_TYPE_RELAY_FORW),
DHCP_COUNTER_WIDTH, rx_counter.at(DHCPV6_MESSAGE_TYPE_RELAY_REPL),
DHCP_COUNTER_WIDTH, tx_counter.at(DHCPV6_MESSAGE_TYPE_RELAY_REPL)
);
}

void dhcp_device_print_status(const std::string &ifname, dhcp_counters_type_t type)
Expand Down