Parcourir la source

[2765] Added throw tag to the openFallbackSocket function.

Marcin Siodelski il y a 11 ans
Parent
commit
a52c2327de
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/lib/dhcp/pkt_filter.h

+ 2 - 0
src/lib/dhcp/pkt_filter.h

@@ -132,6 +132,8 @@ protected:
     ///
     /// @return A fallback socket descriptor. This descriptor should be assigned
     /// to the @c fallbackfd_ field of the @c isc::dhcp::SocketInfo structure.
+    /// @throw isc::dhcp::SocketConfigError if socket opening, binding or
+    /// configuration fails.
     virtual int openFallbackSocket(const isc::asiolink::IOAddress& addr,
                                    const uint16_t port);
 };