]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5556a] Commentary changes
authorThomas Markwalder <tmark@isc.org>
Mon, 9 Apr 2018 18:56:22 +0000 (14:56 -0400)
committerThomas Markwalder <tmark@isc.org>
Mon, 9 Apr 2018 18:56:22 +0000 (14:56 -0400)
src/lib/dhcpsrv/tests/test_utils.h

index febb90cd45c1bba20088d3484412106452481cb7..913224c0d2bbdc7a34483a25fa81a8911b551874 100644 (file)
@@ -34,17 +34,17 @@ detailCompareLease(const Lease6Ptr& first, const Lease6Ptr& second);
 void
 detailCompareLease(const Lease4Ptr& first, const Lease4Ptr& second);
 
-/// @brief Function that finds the last open socket fd
+/// @brief Function that finds the last open socket descriptor
 ///
 /// This function is used to attempt lost connectivity
 /// with backends, notably MySQL and Postgresql.
 ///
-/// The theory being, that in a confined test environment
-/// the last such fd is the SQL client socket fd.  This allows
-/// us to the close that fd and simulate a loss of server
+/// The theory being, that in a confined test environment the last 
+/// such descriptor is the SQL client socket descriptor.  This allows
+/// us to the close that descriptor and simulate a loss of server
 /// connectivity.
 ///
-/// @return the fd of the last open socket or -1 if there
+/// @return the descriptor of the last open socket or -1 if there
 /// are none.
 int findLastSocketFd();