]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4321] Corrected indentation and added description for a function.
authorMarcin Siodelski <marcin@isc.org>
Wed, 6 Jul 2016 15:48:13 +0000 (17:48 +0200)
committerMarcin Siodelski <marcin@isc.org>
Wed, 6 Jul 2016 15:48:13 +0000 (17:48 +0200)
src/bin/dhcp6/tests/dhcp6_client.h

index 612e4a69ffc719ac308b08538eaede25760133f2..3f0fc6ff3cd00e9607a6b131566e514229d0d4d5 100644 (file)
@@ -369,7 +369,7 @@ public:
     ///
     /// @return Vector containing leases for the specified address.
     std::vector<Lease6>
-        getLeasesByAddress(const asiolink::IOAddress& address) const;
+    getLeasesByAddress(const asiolink::IOAddress& address) const;
 
     /// @brief Returns leases belonging to specified address range.
     ///
@@ -378,8 +378,8 @@ public:
     ///
     /// @return Vector containing leases belonging to specified address range.
     std::vector<Lease6>
-        getLeasesByAddressRange(const asiolink::IOAddress& first,
-                                const asiolink::IOAddress& second) const;
+    getLeasesByAddressRange(const asiolink::IOAddress& first,
+                            const asiolink::IOAddress& second) const;
 
     /// @brief Returns leases belonging to prefix pool.
     ///
@@ -389,9 +389,9 @@ public:
     ///
     /// @return Vector containing leases belonging to specified prefix pool.
     std::vector<Lease6>
-        getLeasesByPrefixPool(const asiolink::IOAddress& prefix,
-                              const uint8_t prefix_len,
-                              const uint8_t delegated_len) const;
+    getLeasesByPrefixPool(const asiolink::IOAddress& prefix,
+                          const uint8_t prefix_len,
+                          const uint8_t delegated_len) const;
 
     /// @brief Checks if client has lease for the specified address.
     ///
@@ -458,6 +458,12 @@ public:
                                const uint8_t prefix_len,
                                const uint8_t delegated_len) const;
 
+    /// @brief Checks if client has a lease with zero lifetimes for a prefix.
+    ///
+    /// @param prefix Prefix.
+    /// @param prefix_len Prefix length.
+    ///
+    /// @return true if client has a lease with zero lifetimes for a prefix.
     bool hasLeaseWithZeroLifetimeForPrefix(const asiolink::IOAddress& prefix,
                                            const uint8_t prefix_len) const;