diff options
author | Peter Powell <petpow@saberuk.com> | 2016-10-23 15:23:14 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-10-25 09:36:54 +0100 |
commit | 02575ecbbbd7311f7e16ed9f2f3a1c5809deefa8 (patch) | |
tree | bf1746ab85d0c59cba3544601578c170068fb20c /include/users.h | |
parent | 9d6cc28ed0921c5a2fdffce8025ce258d4befeb8 (diff) |
Allow classes to take a port range.
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index ae76d2eb3..fc31a8297 100644 --- a/include/users.h +++ b/include/users.h @@ -135,6 +135,11 @@ struct CoreExport ConnectClass : public refcountbase */ bool resolvehostnames; + /** + * If non-empty the server ports which this user has to be using + */ + insp::flat_set<int> ports; + /** Create a new connect class with no settings. */ ConnectClass(ConfigTag* tag, char type, const std::string& mask); |