Fix VPN namespace name for external IP query
All checks were successful
Build and Release / build-and-release (push) Successful in 1m9s
All checks were successful
Build and Release / build-and-release (push) Successful in 1m9s
Use correct namespace name 'vpn' instead of 'openvpn-namespace'. Version: v0.1.233
This commit is contained in:
@@ -850,7 +850,7 @@ impl SystemdCollector {
|
||||
}
|
||||
}
|
||||
|
||||
/// Get VPN external IP by querying through the openvpn-namespace
|
||||
/// Get VPN external IP by querying through the vpn namespace
|
||||
fn get_vpn_external_ip(&self) -> Option<String> {
|
||||
let output = Command::new("timeout")
|
||||
.args(&[
|
||||
@@ -858,7 +858,7 @@ impl SystemdCollector {
|
||||
"ip",
|
||||
"netns",
|
||||
"exec",
|
||||
"openvpn-namespace",
|
||||
"vpn",
|
||||
"curl",
|
||||
"-s",
|
||||
"--max-time",
|
||||
|
||||
Reference in New Issue
Block a user