diff options
Diffstat (limited to 'config/openospfd')
-rw-r--r-- | config/openospfd/openospfd.xml | 6 | ||||
-rw-r--r-- | config/openospfd/openospfd_interfaces.xml | 2 | ||||
-rw-r--r-- | config/openospfd/status_ospfd.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/config/openospfd/openospfd.xml b/config/openospfd/openospfd.xml index ab948e7a..9498100f 100644 --- a/config/openospfd/openospfd.xml +++ b/config/openospfd/openospfd.xml @@ -7,17 +7,17 @@ <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/openospfd/openospfd.inc</item> + <item>https://packages.pfsense.org/packages/config/openospfd/openospfd.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/openospfd/openospfd_interfaces.xml</item> + <item>https://packages.pfsense.org/packages/config/openospfd/openospfd_interfaces.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/openospfd/status_ospfd.php</item> + <item>https://packages.pfsense.org/packages/config/openospfd/status_ospfd.php</item> </additional_files_needed> <menu> <name>OpenOSPFd</name> diff --git a/config/openospfd/openospfd_interfaces.xml b/config/openospfd/openospfd_interfaces.xml index 445eefea..61d36976 100644 --- a/config/openospfd/openospfd_interfaces.xml +++ b/config/openospfd/openospfd_interfaces.xml @@ -8,7 +8,7 @@ <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> - <item>http://www.pfsense.com/packages/config/openospfd/openospfd.inc</item> + <item>https://packages.pfsense.org/packages/config/openospfd/openospfd.inc</item> </additional_files_needed> <menu> <name>OSPF</name> diff --git a/config/openospfd/status_ospfd.php b/config/openospfd/status_ospfd.php index 6fcca6bd..25f18d85 100644 --- a/config/openospfd/status_ospfd.php +++ b/config/openospfd/status_ospfd.php @@ -93,8 +93,8 @@ function doCmdT($title, $command) { echo "</table>\n"; } -$pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); -if(strstr($pfSversion, "1.2")) +$pf_version=substr(trim(file_get_contents("/etc/version")),0,3); +if ($pf_version < 2.0) $one_two = true; ?> |