git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct conversion of resetable structures.
[stg.git]
/
projects
/
stargazer
/
plugins
/
other
/
radius
/
radius.cpp
diff --git
a/projects/stargazer/plugins/other/radius/radius.cpp
b/projects/stargazer/plugins/other/radius/radius.cpp
index 68a96d29a73037afe400e65d2512c0bd03e0128a..376e427860fd18e7eb5d07d501fbba57e498c935 100644
(file)
--- a/
projects/stargazer/plugins/other/radius/radius.cpp
+++ b/
projects/stargazer/plugins/other/radius/radius.cpp
@@
-176,6
+176,9
@@
int RADIUS::createUNIX() const
m_logger(m_error);
return 0;
}
m_logger(m_error);
return 0;
}
+ chown(m_config.bindAddress.c_str(), m_config.sockUID, m_config.sockGID);
+ if (m_config.sockMode != static_cast<mode_t>(-1))
+ chmod(m_config.bindAddress.c_str(), m_config.sockMode);
return fd;
}
return fd;
}