aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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";