diff options
Diffstat (limited to 'src/lib/dhcpsrv/cfg_subnets4.h')
-rw-r--r-- | src/lib/dhcpsrv/cfg_subnets4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/cfg_subnets4.h b/src/lib/dhcpsrv/cfg_subnets4.h index ac609e3b89..16ecff5379 100644 --- a/src/lib/dhcpsrv/cfg_subnets4.h +++ b/src/lib/dhcpsrv/cfg_subnets4.h @@ -39,6 +39,13 @@ public: /// duplicates id of an existing subnet. void add(const Subnet4Ptr& subnet); + /// @brief Removes subnet from the configuration. + /// + /// @param subnet Pointer to the subnet to be removed. + /// + /// @throw isc::BadValue if such subnet doesn't exist. + void del(const ConstSubnet4Ptr& subnet); + /// @brief Returns pointer to the collection of all IPv4 subnets. /// /// This is used in a hook (subnet4_select), where the hook is able |