diff options
author | Francis Dupont <fdupont@isc.org> | 2022-11-18 11:50:06 +0100 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2022-11-21 15:32:13 +0100 |
commit | e24bfcc1f93506777a1d800e90f5f5fdad55d644 (patch) | |
tree | 583d31a2eafcb019e7a19232812de90826507d97 /src/lib/dhcpsrv/subnet_id.h | |
parent | [#2348] Deleted subnet c-ctor and assignment op (diff) | |
download | kea-e24bfcc1f93506777a1d800e90f5f5fdad55d644.tar.xz kea-e24bfcc1f93506777a1d800e90f5f5fdad55d644.zip |
[#2643] Checkpoint: ported code, tests to port
Diffstat (limited to 'src/lib/dhcpsrv/subnet_id.h')
-rw-r--r-- | src/lib/dhcpsrv/subnet_id.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/subnet_id.h b/src/lib/dhcpsrv/subnet_id.h index 744fe32d1f..aff581bf62 100644 --- a/src/lib/dhcpsrv/subnet_id.h +++ b/src/lib/dhcpsrv/subnet_id.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2021 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2014-2022 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -11,6 +11,7 @@ #include <stdint.h> #include <typeinfo> #include <limits> +#include <set> namespace isc { namespace dhcp { @@ -38,6 +39,9 @@ public: isc::Exception(file, line, what) { }; }; +/// @brief Ordered list aka set of subnetIDs. +typedef std::set<dhcp::SubnetID> SubnetIDSet; + } } |