From ba7906cc9e36ed8851422032a1ee29db1295eaf5 Mon Sep 17 00:00:00 2001 From: AdamB Date: Wed, 16 Oct 2024 03:24:09 +0100 Subject: [PATCH] Fix a typo and a copy-paste error --- includes/html/pages/device/routing/bgp.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/html/pages/device/routing/bgp.inc.php b/includes/html/pages/device/routing/bgp.inc.php index dd19950918b6..e86d11809553 100644 --- a/includes/html/pages/device/routing/bgp.inc.php +++ b/includes/html/pages/device/routing/bgp.inc.php @@ -121,7 +121,7 @@ unset($alert); unset($peerhost, $peername); - // load the peer identifier in to an object + // load the peer identifier into an object $peer['bgpPeerIdentifierObject'] = IP::parse($peer['bgpPeerIdentifier'], true); if ($peer['bgpPeerState'] == 'established') { @@ -202,7 +202,7 @@ } // make ipv6 look pretty - $peer['bgpPeerIdentifierPretty'] = (string) $peer['bgpPeerIdentifier']; + $peer['bgpPeerIdentifierPretty'] = (string) $peer['bgpPeerIdentifierObject']; // display overlib graphs $graph_array = [];