aboutsummaryrefslogtreecommitdiffstats
path: root/config/quagga_ospfd
diff options
context:
space:
mode:
Diffstat (limited to 'config/quagga_ospfd')
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index 402e6a30..aabd27a8 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -378,7 +378,7 @@ function quagga_ospfd_put_raw_config($conffile) {
}
function quagga_get_carp_status_by_ip($ipaddr) {
- $iface = find_carp_interface($ipaddr);
+ $iface = trim(find_carp_interface($ipaddr));
if ($iface) {
$status = get_carp_interface_status($iface);
// If there is no status for that interface, return null.