aboutsummaryrefslogtreecommitdiffstats
path: root/config/openbgpd/openbgpd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-05-14 02:23:54 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-05-14 02:23:54 -0400
commita7bb1242d9e2c7b3b6c816071ded9a5e8871433f (patch)
tree2dfdf184c887967c38833b4898f65e315b8fa925 /config/openbgpd/openbgpd.inc
parentf61fd7ef2e4a5a6f6395214b3a70149c63e71d7e (diff)
downloadpfsense-packages-a7bb1242d9e2c7b3b6c816071ded9a5e8871433f.tar.gz
pfsense-packages-a7bb1242d9e2c7b3b6c816071ded9a5e8871433f.tar.bz2
pfsense-packages-a7bb1242d9e2c7b3b6c816071ded9a5e8871433f.zip
Add tcp md5sig support
Diffstat (limited to 'config/openbgpd/openbgpd.inc')
-rw-r--r--config/openbgpd/openbgpd.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index 835c3081..c786f0d9 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -79,6 +79,10 @@ function openbgpd_install_conf() {
if($neighbor['groupname'] == $group['name']) {
$conffile .= " neighbor {$neighbor['neighbor']} {\n";
$conffile .= " descr \"{$neighbor['descr']}\"\n";
+ if($neighbor['md5sigpass'])
+ $conffile .= " tcp md5sig password {$neighbor['md5sigpass']}\n";
+ if($neighbor['md5sigkey'])
+ $conffile .= " tcp md5sig key {$neighbor['md5sigkey']}\n";
foreach($neighbor['row'] as $row) {
$conffile .= " {$row['paramaters']} {$row['parmvalue']} \n";
}