diff options
author | julienberton <julien@berton.me> | 2012-08-16 10:33:21 +0300 |
---|---|---|
committer | julienberton <julien@berton.me> | 2012-08-16 10:33:21 +0300 |
commit | bca49006ea0cc235d55ff384f3fc7932639272bb (patch) | |
tree | 338edffb3ec4af4d884fb3361f7cc9299099f2e1 /config | |
parent | 171aaa47be3f839983412a1447110b43679cee35 (diff) | |
download | pfsense-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.
Diffstat (limited to 'config')
-rw-r--r-- | config/quagga_ospfd/quagga_ospfd.inc | 6 |
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"; |