aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjulienberton <julien@berton.me>2012-08-16 10:33:21 +0300
committerjulienberton <julien@berton.me>2012-08-16 10:33:21 +0300
commitbca49006ea0cc235d55ff384f3fc7932639272bb (patch)
tree338edffb3ec4af4d884fb3361f7cc9299099f2e1
parent171aaa47be3f839983412a1447110b43679cee35 (diff)
downloadpfsense-packages-bca49006ea0cc235d55ff384f3fc7932639272bb.tar.gz
pfsense-packages-bca49006ea0cc235d55ff384f3fc7932639272bb.tar.bz2
pfsense-packages-bca49006ea0cc235d55ff384f3fc7932639272bb.zip
Update config/quagga_ospfd/quagga_ospfd.inc
OSPF passwords are in Quagga configuration surrounded by quotes, which is result in MD5 authentication failures where other side like Cisco routers defined the password without quotes.
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index d81ee3dc..3dc14f7a 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -1,7 +1,7 @@
<?php
/*
quagga_ospfd.inc
- Copyright (C) 2010 Ermal Luçi
+ Copyright (C) 2010 Ermal Lu�i
Copyright (C) 2012 Jim Pingle
part of pfSense
All rights reserved.
@@ -110,9 +110,9 @@ function quagga_ospfd_install_conf() {
}
if ($conf['md5password'] && !empty($conf['password'])) {
$conffile .= " ip ospf authentication message-digest\n";
- $conffile .= " ip ospf message-digest-key 1 md5 \"" . substr($conf['password'], 0, 15) . "\"\n";
+ $conffile .= " ip ospf message-digest-key 1 md5 " . substr($conf['password'], 0, 15) . "\n";
} else if (!empty($conf['password'])) {
- $conffile .= " ip ospf authentication-key \"" . substr($conf['password'], 0, 8) . "\"\n";
+ $conffile .= " ip ospf authentication-key \" . substr($conf['password'], 0, 8) . "\n";
}
if (!empty($conf['routerpriorityelections'])) {
$conffile .= " ip ospf priority {$conf['routerpriorityelections']}\n";