Skip to content

Commit

Permalink
Fix a typo and a copy-paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMysteriousX authored Oct 16, 2024
1 parent 33429c7 commit ba7906c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/html/pages/device/routing/bgp.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -202,7 +202,7 @@
}

// make ipv6 look pretty
$peer['bgpPeerIdentifierPretty'] = (string) $peer['bgpPeerIdentifier'];
$peer['bgpPeerIdentifierPretty'] = (string) $peer['bgpPeerIdentifierObject'];

// display overlib graphs
$graph_array = [];
Expand Down

0 comments on commit ba7906c

Please sign in to comment.