Fix VPN namespace name for external IP query
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:
2025-12-01 14:09:07 +01:00
parent 885e19f7fd
commit 1fcaf4a670
5 changed files with 8 additions and 8 deletions

View File

@@ -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",