Commit 237def83 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[2187] Fixed typos.

parent 1a7e6f8b
......@@ -53,7 +53,7 @@ packet on the specified interface. Note that a packet marked as UNKNOWN
may well be a valid DHCP packet, just a type not expected by the server
(e.g. it will report a received OFFER packet as UNKNOWN).
% DHCPV4_PACKET_SEND_FAIL failed to send DHCPv4 packet: %1
% DHCP4_PACKET_SEND_FAIL failed to send DHCPv4 packet: %1
This error is output if IPv6 DHCP server fails to send assembled DHCP
message to a client. The reason for the error is included in the message.
......
......@@ -149,8 +149,8 @@ Dhcpv4Srv::run() {
if (rsp->pack()) {
try {
IfaceMgr::instance().send(rsp);
} catch (const std::exception& ex) {
LOG_ERROR(dhcp4_logger, DHCP4_PACKET_SEND_FAIL).arg(ex.what());
} catch (const std::exception& e) {
LOG_ERROR(dhcp4_logger, DHCP4_PACKET_SEND_FAIL).arg(e.what());
}
} else {
LOG_ERROR(dhcp4_logger, DHCP4_PACK_FAIL);
......
......@@ -56,7 +56,7 @@ of packet. Note that a packet marked as UNKNOWN may well be a valid
DHCP packet, just a type not expected by the server (e.g. it will report
a received OFFER packet as UNKNOWN).
% DHCPV6_PACKET_SEND_FAIL failed to send DHCPv6 packet: %1
% DHCP6_PACKET_SEND_FAIL failed to send DHCPv6 packet: %1
This error is output if IPv6 DHCP server fails to send assembled DHCP
message to a client. The reason fo the error is included in the message.
......
......@@ -89,7 +89,7 @@ bool Dhcpv6Srv::run() {
try {
query = IfaceMgr::instance().receive6(timeout);
} catch (const std::exception& ex) {
} catch (const std::exception& e) {
LOG_ERROR(dhcp6_logger, DHCP6_PACKET_RECEIVE_FAIL).arg(e.what());
}
......@@ -162,8 +162,8 @@ bool Dhcpv6Srv::run() {
if (rsp->pack()) {
try {
IfaceMgr::instance().send(rsp);
} catch (const std::exception& ex) {
LOG_ERROR(dhcp6_logger, DHCP6_PACKET_SEND_FAIL).arg(ex.what());
} catch (const std::exception& e) {
LOG_ERROR(dhcp6_logger, DHCP6_PACKET_SEND_FAIL).arg(e.what());
}
} else {
LOG_ERROR(dhcp6_logger, DHCP6_PACK_FAIL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment