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