aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Smith <mgsmith@netgate.com>2014-07-24 10:57:26 -0500
committerMatt Smith <mgsmith@netgate.com>2014-07-24 10:57:26 -0500
commitdedf19ffada8dac78ceb491a0b1f7ebb12ed7864 (patch)
treeb1a36e763657d488440a0ceeb1cf61882f75f667
parentfbbc57ece0730657f2e5c6ba7026ebb827c03e53 (diff)
downloadpfsense-packages-dedf19ffada8dac78ceb491a0b1f7ebb12ed7864.tar.gz
pfsense-packages-dedf19ffada8dac78ceb491a0b1f7ebb12ed7864.tar.bz2
pfsense-packages-dedf19ffada8dac78ceb491a0b1f7ebb12ed7864.zip
More formatting/braces
-rw-r--r--config/openbgpd/openbgpd.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index 12be4ce1..907f6b8c 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -130,10 +130,11 @@ function openbgpd_install_conf() {
}
}
if ($setlocaladdr == true) {
- if (!empty($openbgpd_conf['listenip']))
+ if (!empty($openbgpd_conf['listenip'])) {
$conffile .= "\t\tlocal-address {$openbgpd_conf['listenip']}\n";
- else
+ } else {
$conffile .= "\t\tlocal-address 0.0.0.0\n";
+ }
}
$conffile .= "}\n";