From 8deb1248ddb186b12b0029cf8de1ef945bbd5ce9 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 17 Oct 2007 04:11:54 +0000 Subject: Do not leave a stray } --- packages/openbgpd/openbgpd.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3