move unix socket unlink from services to router
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2e45cb281a
commit
6d1144bb69
3 changed files with 24 additions and 21 deletions
|
@ -395,8 +395,6 @@ impl Service {
|
|||
|
||||
pub fn well_known_server(&self) -> &Option<OwnedServerName> { &self.config.well_known.server }
|
||||
|
||||
pub fn unix_socket_path(&self) -> &Option<PathBuf> { &self.config.unix_socket_path }
|
||||
|
||||
pub fn valid_cidr_range(&self, ip: &IPAddress) -> bool {
|
||||
for cidr in &self.cidr_range_denylist {
|
||||
if cidr.includes(ip) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue