Browse Source

[master] typo in doxygen (and moved to header)

reported by stephen, discussed on jabber
Jelte Jansen 13 years ago
parent
commit
7ae9a73236
2 changed files with 12 additions and 11 deletions
  1. 0 11
      src/bin/dhcp6/iface_mgr.cc
  2. 12 0
      src/bin/dhcp6/iface_mgr.h

+ 0 - 11
src/bin/dhcp6/iface_mgr.cc

@@ -226,17 +226,6 @@ IfaceMgr::getIface(const std::string& ifname) {
 }
 
 
-/**
- * Opens UDP/IPv6 socket and binds it to specific address, interface nad port.
- *
- * @param ifname name of the interface
- * @param addr address to be bound.
- * @param port UDP port.
- * @param mcast Should multicast address also be bound?
- *
- * @return socket descriptor, if socket creation, binding and multicast
- * group join were all successful. -1 otherwise.
- */
 int
 IfaceMgr::openSocket(const std::string& ifname,
                      const IOAddress& addr,

+ 12 - 0
src/bin/dhcp6/iface_mgr.h

@@ -70,6 +70,18 @@ namespace isc {
 
         void detectIfaces();
 
+        /**
+         * Opens UDP/IPv6 socket and binds it to specific address, interface
+         * and port.
+         *
+         * @param ifname name of the interface
+         * @param addr address to be bound.
+         * @param port UDP port.
+         * @param mcast Should multicast address also be bound?
+         *
+         * @return socket descriptor, if socket creation, binding and multicast
+         * group join were all successful. -1 otherwise.
+         */
         int openSocket(const std::string& ifname,
                        const isc::asiolink::IOAddress& addr,
                        int port);