aboutsummaryrefslogtreecommitdiffstats
path: root/config/openospfd
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-02 19:40:13 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-02 19:40:13 +0000
commit3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74 (patch)
tree6778f8983e6120ce69b5119b190e6eb6f39b4187 /config/openospfd
parent558eaefc6d866396decaea9ea25aedff1578d563 (diff)
downloadpfsense-packages-3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74.tar.gz
pfsense-packages-3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74.tar.bz2
pfsense-packages-3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74.zip
Fix typo.
Diffstat (limited to 'config/openospfd')
-rw-r--r--config/openospfd/openospfd.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/openospfd/openospfd.inc b/config/openospfd/openospfd.inc
index 6d50cce9..d64e8774 100644
--- a/config/openospfd/openospfd.inc
+++ b/config/openospfd/openospfd.inc
@@ -91,7 +91,7 @@ function ospfd_install_conf() {
$ifconfigs .= "\t\tauth-type crypt\n";
$ifconfigs .= "\t\tauth-md 1 \"" . substr($conf['password'], 0, 15) . "\"\n";
$ifconfigs .= "\t\tauth-md-keyid 1\n";
- } else if (!empty($conf['passward'])) {
+ } else if (!empty($conf['password'])) {
$options_present = true;
$ifconfigs .= "\t\tauth-type simple\n";
$ifconfigs .= "\t\tauth-key \"" . substr($conf['password'], 0, 7) . "\"\n";
@@ -190,7 +190,7 @@ function ospfd_put_raw_config($conffile) {
else {
$config['installedpackages']['ospfd']['rawconfig'] = array();
$config['installedpackages']['ospfd']['rawconfig']['item'] = explode("\n",$_POST['ospfd_raw']);
- //$config['installedpackages']['ospfd']['rawconfig'] = $conffile;
+ $config['installedpackages']['ospfd']['rawconfig'] = $conffile;
}
}