diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-03-02 19:40:13 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-03-02 19:40:13 +0000 |
commit | 3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74 (patch) | |
tree | 6778f8983e6120ce69b5119b190e6eb6f39b4187 | |
parent | 558eaefc6d866396decaea9ea25aedff1578d563 (diff) | |
download | pfsense-packages-3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74.tar.gz pfsense-packages-3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74.tar.bz2 pfsense-packages-3ec4ee84fc38b83577ea1f80a07f4c7d8a35af74.zip |
Fix typo.
-rw-r--r-- | config/openospfd/openospfd.inc | 4 |
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; } } |