X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/70f8adff2c970496bdc45717cad49ddec0405ae7..59d20816e25f345a8a9cb778f954f1aa955883e6:/projects/stargazer/plugins/other/radius/config.h?ds=inline diff --git a/projects/stargazer/plugins/other/radius/config.h b/projects/stargazer/plugins/other/radius/config.h index 8e5055d8..28da964e 100644 --- a/projects/stargazer/plugins/other/radius/config.h +++ b/projects/stargazer/plugins/other/radius/config.h @@ -34,8 +34,10 @@ namespace STG struct Config { typedef std::map Pairs; - typedef Pairs::value_type Pair; + typedef std::pair Pair; + enum Type { UNIX, TCP }; + Config() {} Config(const MODULE_SETTINGS& settings); Pairs match; @@ -44,7 +46,10 @@ struct Config bool verbose; + std::string address; std::string bindAddress; + Type connectionType; + std::string portStr; uint16_t port; std::string key; };