Skip to content

Commit

Permalink
Corrected parse_cdp_to_neighbors method
Browse files Browse the repository at this point in the history
  • Loading branch information
ohtarr committed Dec 5, 2019
1 parent 1c8ecd2 commit 0855136
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cisco_ios_parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ public function generate_dns_names()

public static function parse_cdp_to_neighbors($cdp)
{
$neighbors = null;
$cdpreg = "/Device ID:.*Management address\(es\):/sU";
if(preg_match_all($cdpreg,$cdp,$hits,PREG_SET_ORDER))
{
Expand Down

0 comments on commit 0855136

Please sign in to comment.