From b5a26a9eb296ee649517d017cc7888b7cdf7357f Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 9 Sep 2023 01:14:10 +0300 Subject: [PATCH] show remote address to owner and user from ADMIN_REMOTE_ADDRESS_WHITELIST --- src/public/peer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/public/peer.php b/src/public/peer.php index 5b93575..0521739 100644 --- a/src/public/peer.php +++ b/src/public/peer.php @@ -253,7 +253,7 @@ $peerPortStatuses = $db->findLastPeerPortStatusesByPeerId($requestPeerId); - address])) { ?> + address], ADMIN_REMOTE_ADDRESS_WHITELIST))) { ?> @@ -281,7 +281,7 @@ $peerPortStatuses = $db->findLastPeerPortStatusesByPeerId($requestPeerId); $peerRemoteConnection) { ?> timeAdded) ?> - address])) { ?> + address], ADMIN_REMOTE_ADDRESS_WHITELIST))) { ?> remote ?> @@ -304,7 +304,7 @@ $peerPortStatuses = $db->findLastPeerPortStatusesByPeerId($requestPeerId); = WEBSITE_PEER_REMOTE_PAGINATION_LIMIT) { ?> - + 1) { ?>