]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1968] Namespaces in iface_mgr_(os).cc fixed.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 10 May 2012 17:41:44 +0000 (19:41 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 10 May 2012 17:41:44 +0000 (19:41 +0200)
src/lib/dhcp/iface_mgr_bsd.cc
src/lib/dhcp/iface_mgr_linux.cc
src/lib/dhcp/iface_mgr_sun.cc

index aa6dd5b2d36474a69697a75129b014b7b1077941..e3f11a1edc8727b2917dca1a0f59fc5731d16f48 100644 (file)
@@ -25,6 +25,7 @@ using namespace isc::asiolink;
 using namespace isc::dhcp;
 
 namespace isc {
+namespace dhcp {
 
 void
 IfaceMgr::detectIfaces() {
@@ -48,6 +49,7 @@ bool IfaceMgr::os_receive4(struct msghdr& /*m*/, Pkt4Ptr& /*pkt*/) {
   return (true); // pretend that we have everything set up for reception.
 }
 
-}
+} // end of isc::dhcp namespace
+} // end of dhcp namespace
 
 #endif
index 3faac02897c6f608911f8ed863bd30f6b6f4e55f..90431dead290907833cb5ff89a838ea8cb098c58 100644 (file)
@@ -410,7 +410,6 @@ void Netlink::release_list(NetlinkMessages& messages) {
 } // end of anonymous namespace
 
 namespace isc {
-
 namespace dhcp {
 
 /// @brief Detect available interfaces on Linux systems.
index 50721ba2487efd2677813d537eb2974b1ac17c2d..8b017af43bfa3b52d57e62f1d433264b293e98ff 100644 (file)
@@ -25,6 +25,7 @@ using namespace isc::asiolink;
 using namespace isc::dhcp;
 
 namespace isc {
+namespace isc::dhcp {
 
 void
 IfaceMgr::detectIfaces() {
@@ -48,6 +49,7 @@ bool IfaceMgr::os_receive4(struct msghdr& /*m*/, Pkt4Ptr& /*pkt*/) {
   return (true); // pretend that we have everything set up for reception.
 }
 
-}
+} // end of isc::dhcp namespace
+} // end of dhcp namespace
 
 #endif