diff options
author | jim-p <jimp@pfsense.org> | 2013-06-11 10:17:38 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-06-11 10:17:38 -0400 |
commit | 79ae84ea07e66d2b592b6fdca045ca8a611595c8 (patch) | |
tree | dcf0160b5ee9391dee559a7a330fc59499de099d /config/quagga_ospfd/quagga_ospfd.inc | |
parent | be606c90326bed5d93897cda32a1dfd9c97df8cd (diff) | |
download | pfsense-packages-79ae84ea07e66d2b592b6fdca045ca8a611595c8.tar.gz pfsense-packages-79ae84ea07e66d2b592b6fdca045ca8a611595c8.tar.bz2 pfsense-packages-79ae84ea07e66d2b592b6fdca045ca8a611595c8.zip |
Trim here to avoid an error from output containing a newline
Diffstat (limited to 'config/quagga_ospfd/quagga_ospfd.inc')
-rw-r--r-- | config/quagga_ospfd/quagga_ospfd.inc | 2 |
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. |