From 5c3e3a5dd386f71c9e6915b50d360620023da0b1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 16 Aug 2009 16:28:54 -0400 Subject: When you add/modify neighbor which does not belong to any group you get excessive } in bgpd.conf after neighbor{} block. --- config/openbgpd/openbgpd.inc | 2 -- 1 file changed, 2 deletions(-) (limited to 'config') 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) -- cgit v1.2.3