git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket 37. td.tariffConf.changePolicy definition fixed in the
[stg.git]
/
projects
/
stargazer
/
plugins
/
other
/
radius
/
radius.h
diff --git
a/projects/stargazer/plugins/other/radius/radius.h
b/projects/stargazer/plugins/other/radius/radius.h
index c424c007dcefe0958bc3cebef0cc2c2b9f64dcd4..0f1c95fcda66563c592f3238e611b337ed645b54 100644
(file)
--- a/
projects/stargazer/plugins/other/radius/radius.h
+++ b/
projects/stargazer/plugins/other/radius/radius.h
@@
-98,7
+98,7
@@
public:
int Start();
int Stop();
int Start();
int Stop();
- int Reload() { return 0; }
+ int Reload(
const MODULE_SETTINGS & /*ms*/
) { return 0; }
bool IsRunning() { return isRunning; }
const std::string & GetStrError() const { return errorStr; }
bool IsRunning() { return isRunning; }
const std::string & GetStrError() const { return errorStr; }
@@
-133,21
+133,12
@@
private:
bool CanAcctService(const std::string & svc) const;
bool IsAllowedService(const std::string & svc) const;
bool CanAcctService(const std::string & svc) const;
bool IsAllowedService(const std::string & svc) const;
- void PrintServices(const std::list<std::string> & svcs);
-
- struct Printer : public std::unary_function<std::string, void>
- {
- void operator()(const std::string & line)
- {
- printfd("radius.cpp", "'%s'\n", line.c_str());
- }
- };
struct SPrinter : public std::unary_function<std::pair<std::string, RAD_SESSION>, void>
struct SPrinter : public std::unary_function<std::pair<std::string, RAD_SESSION>, void>
- {
+ {
void operator()(const std::pair<std::string, RAD_SESSION> & it)
void operator()(const std::pair<std::string, RAD_SESSION> & it)
- {
- printfd("radius.cpp", "%s - ('%s', '%s')\n", it.first.c_str(), it.second.userName.c_str(), it.second.serviceType.c_str());
- }
+ {
+ printfd("radius.cpp", "%s - ('%s', '%s')\n", it.first.c_str(), it.second.userName.c_str(), it.second.serviceType.c_str());
+ }
};
BLOWFISH_CTX ctx;
};
BLOWFISH_CTX ctx;