summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp/pkt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcp/pkt.h')
-rw-r--r--src/lib/dhcp/pkt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dhcp/pkt.h b/src/lib/dhcp/pkt.h
index 2c42b5cf16..51507ec186 100644
--- a/src/lib/dhcp/pkt.h
+++ b/src/lib/dhcp/pkt.h
@@ -237,6 +237,12 @@ public:
/// @param client_class name of the class to be added
void addClass(const isc::dhcp::ClientClass& client_class);
+ /// @brief Returns the class set
+ ///
+ /// @note This should be used only to iterate over the class set.
+ /// @return
+ const ClientClasses& getClasses() const { return (classes_); }
+
/// @brief Unparsed data (in received packets).
///
/// @warning This public member is accessed by derived