aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-17 04:11:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-17 04:11:54 +0000
commit8deb1248ddb186b12b0029cf8de1ef945bbd5ce9 (patch)
tree2c49db8b44722440b7fc0b154efeca75ac9fce4c
parent8b07f9e10a82f2457c7b8cc5f78efa90ea3414d9 (diff)
downloadpfsense-packages-8deb1248ddb186b12b0029cf8de1ef945bbd5ce9.tar.gz
pfsense-packages-8deb1248ddb186b12b0029cf8de1ef945bbd5ce9.tar.bz2
pfsense-packages-8deb1248ddb186b12b0029cf8de1ef945bbd5ce9.zip
Do not leave a stray }
-rw-r--r--packages/openbgpd/openbgpd.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc
index ed7fc959..ae930049 100644
--- a/packages/openbgpd/openbgpd.inc
+++ b/packages/openbgpd/openbgpd.inc
@@ -98,7 +98,8 @@ function openbgpd_install_conf() {
$conffile .= " }\n";
}
}
- $conffile .= "}\n";
+ if($used_this_item)
+ $conffile .= "}\n";
// OpenBGPD filters
$conffile .= "deny from any\n";