diff --git a/html/pages/routing/ospf.inc.php b/html/pages/routing/ospf.inc.php index be1ae23943..c4ded7eda9 100644 --- a/html/pages/routing/ospf.inc.php +++ b/html/pages/routing/ospf.inc.php @@ -25,7 +25,7 @@ while ($instance = mysql_fetch_assoc($query)) $ip_query .= "(A.ipv4_address = ? AND I.interface_id = A.interface_id)"; $ip_query .= " AND I.device_id = ?"; - $ipv4_host = dbFetchArray($ip_query, array($peer['bgpPeerIdentifier'], $device['device_id'])); + $ipv4_host = dbFetchRow($ip_query, array($peer['bgpPeerIdentifier'], $device['device_id'])); if ($instance['ospfAdminStat'] == "enabled") { $enabled = 'enabled'; } else { $enabled = 'disabled'; } if ($instance['ospfAreaBdrRtrStatus'] == "true") { $abr = 'yes'; } else { $abr = 'no'; }