]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/radius/config.h
Fixed config parser for mod_radius.
[stg.git] / projects / stargazer / plugins / other / radius / config.h
index d6553e1474a045a5501b6f75bb199dda305da1ec..28da964e930320269be5e507e7bbee01bfbe3391 100644 (file)
@@ -37,6 +37,7 @@ struct Config
     typedef std::pair<std::string, std::string> Pair;
     enum Type { UNIX, TCP };
 
+    Config() {}
     Config(const MODULE_SETTINGS& settings);
 
     Pairs match;
@@ -45,8 +46,9 @@ struct Config
 
     bool verbose;
 
-    Type connectionType;
+    std::string address;
     std::string bindAddress;
+    Type connectionType;
     std::string portStr;
     uint16_t port;
     std::string key;