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
3917a1b8
Commit
3917a1b8
authored
Jun 08, 2016
by
Francis Dupont
Browse files
[4106_rebase] Addressed last comments before merging
parent
2e47c238
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/dhcp4o6_ipc.cc
View file @
3917a1b8
...
...
@@ -174,7 +174,7 @@ Pkt6Ptr Dhcp4o6IpcBase::receive() {
if
(
!
iface
)
{
LOG_DEBUG
(
dhcpsrv_logger
,
DHCPSRV_DBG_TRACE_DETAIL
,
DHCPSRV_DHCP4O6_RECEIVED_BAD_PACKET
)
.
arg
(
"can't get interface
"
);
.
arg
(
"can't get interface
"
+
ifname
->
getValue
()
);
return
(
Pkt6Ptr
());
}
Option6AddrLstPtr
srcs
=
...
...
@@ -237,7 +237,9 @@ void Dhcp4o6IpcBase::send(Pkt6Ptr pkt) {
pkt
->
pack
();
// Send
static_cast
<
void
>
(
::
send
(
socket_fd_
,
buf
.
getData
(),
buf
.
getLength
(),
0
));
if
(
::
send
(
socket_fd_
,
buf
.
getData
(),
buf
.
getLength
(),
0
)
<
0
)
{
isc_throw
(
Unexpected
,
"Failed to send over DHCP4o6 IPC socket"
);
}
return
;
}
...
...
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