diff options
Diffstat (limited to 'config/openospfd/openospfd.inc')
-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 332c671e..bea9bf20 100644 --- a/config/openospfd/openospfd.inc +++ b/config/openospfd/openospfd.inc @@ -128,7 +128,7 @@ function ospfd_install_conf() { } else if (!empty($conf['password'])) { $options_present = true; $ifconfigs .= "\t\tauth-type simple\n"; - $ifconfigs .= "\t\tauth-key \"" . substr($conf['password'], 0, 7) . "\"\n"; + $ifconfigs .= "\t\tauth-key \"" . substr($conf['password'], 0, 8) . "\"\n"; } if (!empty($conf['routerpriorityelections'])) { $options_present = true; @@ -241,4 +241,4 @@ function ospfd_put_raw_config($conffile) { } } -?>
\ No newline at end of file +?> |