When you do not specify groups and more then one neighbor bgpd.conf is
missing right closing breaket and 'descr' does not look:
neighbor 2.2.2.252 {
descr "left"
set localpref 50
remote-as 65444
neighbor 2.2.3.253 {
descr "right"
remote-as 65444
}
Could you please fix this?
--- openbgpd.inc.20091211.bak 2009-12-10 11:26:10.000000000 -0500
+++ openbgpd.inc 2009-12-11 17:15:09.763000000 -0500
@@ -110,7 +110,7 @@
$used_this_item = false;
if($neighbor['groupname'] == "") {
$conffile .= "neighbor {$neighbor['neighbor']} {\n";
- $conffile .= " descr \"{$neighbor['descr']}\"\n";
+ $conffile .= " descr \"{$neighbor['descr']}\"\n";
$setkeycf .= "delete {$openbgpd_conf['listenip']}
{$neighbor['neighbor']} tcp 0x1000;\n";
if ($neighbor['md5sigpass']) {
$setkeycf .= "add {$openbgpd_conf['listenip']}
{$neighbor['neighbor']} tcp 0x1000 -A tcp-md5
\"{$neighbor['md5sigpass']}\";\n";
@@ -125,9 +125,9 @@
$conffile .= " {$row['paramaters']} {$row['parmvalue']} \n";
}
}
+ if($used_this_item)
+ $conffile .= "}\n";
}
- if($used_this_item)
- $conffile .= "}\n";
}
// OpenBGPD filters
Thanks,
Evgeny.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Commercial support available - https://portal.pfsense.org