BIND 10 master, updated. 16e7be208020dd3eee46b0d8c120c23ae5f50ccc IfaceMgr compilation fix for BSD systems.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 9 13:24:53 UTC 2012
The branch, master has been updated
via 16e7be208020dd3eee46b0d8c120c23ae5f50ccc (commit)
from c3b6b5bbceee256e5415149c90861618a1deb2af (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 16e7be208020dd3eee46b0d8c120c23ae5f50ccc
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Wed May 9 15:23:54 2012 +0200
IfaceMgr compilation fix for BSD systems.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/iface_mgr_bsd.cc | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/iface_mgr_bsd.cc b/src/lib/dhcp/iface_mgr_bsd.cc
index 8e56df0..aa6dd5b 100644
--- a/src/lib/dhcp/iface_mgr_bsd.cc
+++ b/src/lib/dhcp/iface_mgr_bsd.cc
@@ -28,19 +28,25 @@ namespace isc {
void
IfaceMgr::detectIfaces() {
- // TODO do the actual detection on BSDs. Currently just calling
- // stub implementation.
+ /// @todo do the actual detection on BSDs. Currently just calling
+ /// stub implementation.
stubDetectIfaces();
}
-void IfaceMgr::os_send4_setup(struct msghdr& ,
- boost::scoped_array<char>& ,
- size_t , const Pkt4Ptr& ) {
- // do nothing here. There's nothing BSD specific to do and os_send4_setup()
- // interface is there only to not mix Linux-specific code in common
- // IfaceMgr file.
+void IfaceMgr::os_send4(struct msghdr& /*m*/,
+ boost::scoped_array<char>& /*control_buf*/,
+ size_t /*control_buf_len*/,
+ const Pkt4Ptr& /*pkt*/) {
+ // @todo: Are there any specific actions required before sending IPv4 packet
+ // on BSDs? See iface_mgr_linux.cc for working Linux implementation.
}
+bool IfaceMgr::os_receive4(struct msghdr& /*m*/, Pkt4Ptr& /*pkt*/) {
+ // @todo: Are there any specific actions required before receiving IPv4 packet
+ // on BSDs? See iface_mgr_linux.cc for working Linux implementation.
+
+ return (true); // pretend that we have everything set up for reception.
+}
}
More information about the bind10-changes
mailing list