aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-16 16:28:54 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-16 16:28:54 -0400
commit5c3e3a5dd386f71c9e6915b50d360620023da0b1 (patch)
tree390f7d5ce0951a4eaceddd51c8b357aa7ea413f4
parentd337e651ff746c0803ec47970b74476e1ee48300 (diff)
downloadpfsense-packages-5c3e3a5dd386f71c9e6915b50d360620023da0b1.tar.gz
pfsense-packages-5c3e3a5dd386f71c9e6915b50d360620023da0b1.tar.bz2
pfsense-packages-5c3e3a5dd386f71c9e6915b50d360620023da0b1.zip
When you add/modify neighbor which does not belong to any group you get excessive } in bgpd.conf after neighbor{} block.
-rw-r--r--config/openbgpd/openbgpd.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index bb44cc0b..d88edade 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -109,8 +109,6 @@ function openbgpd_install_conf() {
foreach($neighbor['row'] as $row) {
$conffile .= " {$row['paramaters']} {$row['parmvalue']} \n";
}
- if($used_this_item)
- $conffile .= " }\n";
}
}
if($used_this_item)