diff options
author | sullrich <sullrich@pfsense.org> | 2009-12-12 16:02:22 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-12-12 16:02:59 -0500 |
commit | f987d47ea878bf49bd256c36f3fda13421b7eae3 (patch) | |
tree | 5cc6a0151b387b967528ea42910a508d4d2f6ee6 /config/openbgpd/openbgpd.inc | |
parent | 2446d2fbff353df9714e6463d5de7236fd64114d (diff) | |
download | pfsense-packages-f987d47ea878bf49bd256c36f3fda13421b7eae3.tar.gz pfsense-packages-f987d47ea878bf49bd256c36f3fda13421b7eae3.tar.bz2 pfsense-packages-f987d47ea878bf49bd256c36f3fda13421b7eae3.zip |
Adding patch from Evgeny Yurchenko
0) add missing right bracket
1) Status has two "OpenBGPD Routing" sections, one of them should be renamed to "Forwarding" as it shows fib not rib.
2) "OpenBGPD IP" section returns error
Diffstat (limited to 'config/openbgpd/openbgpd.inc')
-rw-r--r-- | config/openbgpd/openbgpd.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc index 35abc398..4ad621e7 100644 --- a/config/openbgpd/openbgpd.inc +++ b/config/openbgpd/openbgpd.inc @@ -83,7 +83,7 @@ function openbgpd_install_conf() { foreach($openbgpd_neighbors as $neighbor) { if($neighbor['groupname'] == $group['name']) { $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 @@ function openbgpd_install_conf() { $conffile .= " {$row['paramaters']} {$row['parmvalue']} \n"; } } + if($used_this_item) + $conffile .= "}\n"; } - if($used_this_item) - $conffile .= "}\n"; } // OpenBGPD filters |