summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index e82cfee..bcbd969 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -294,7 +294,7 @@ fn get_https_connected_ips() -> Result<Vec<IpAddr>> {
.chain(procfs::net::tcp6()?)
.filter_map(|t| {
if t.local_address.port() == 443 && t.state == TcpState::Established {
- return Some(t.local_address.ip());
+ return Some(t.remote_address.ip());
}
None
})