Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
237def83
Commit
237def83
authored
Sep 26, 2012
by
Marcin Siodelski
Browse files
[2187] Fixed typos.
parent
1a7e6f8b
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_messages.mes
View file @
237def83
...
...
@@ -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).
% DHCP
V
4_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.
...
...
src/bin/dhcp4/dhcp4_srv.cc
View file @
237def83
...
...
@@ -149,8 +149,8 @@ Dhcpv4Srv::run() {
if
(
rsp
->
pack
())
{
try
{
IfaceMgr
::
instance
().
send
(
rsp
);
}
catch
(
const
std
::
exception
&
e
x
)
{
LOG_ERROR
(
dhcp4_logger
,
DHCP4_PACKET_SEND_FAIL
).
arg
(
e
x
.
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
);
...
...
src/bin/dhcp6/dhcp6_messages.mes
View file @
237def83
...
...
@@ -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).
% DHCP
V
6_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.
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
237def83
...
...
@@ -89,7 +89,7 @@ bool Dhcpv6Srv::run() {
try
{
query
=
IfaceMgr
::
instance
().
receive6
(
timeout
);
}
catch
(
const
std
::
exception
&
e
x
)
{
}
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
&
e
x
)
{
LOG_ERROR
(
dhcp6_logger
,
DHCP6_PACKET_SEND_FAIL
).
arg
(
e
x
.
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment