Commit 4075a285 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) move openvpn.inc out of interfaces.inc

parent e6765b90
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
require_once("interfaces.lib.inc"); require_once("interfaces.lib.inc");
require_once("gwlb.inc"); require_once("gwlb.inc");
require_once('openvpn.inc');
/* /*
* converts a string like "a,b,c,d" * converts a string like "a,b,c,d"
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
/* parse the configuration and include all functions used below */ /* parse the configuration and include all functions used below */
require_once("config.inc"); require_once("config.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("util.inc"); require_once("util.inc");
require_once("ipsec.inc"); require_once("ipsec.inc");
require_once("filter.inc"); require_once("filter.inc");
......
...@@ -38,6 +38,7 @@ require_once("captiveportal.inc"); ...@@ -38,6 +38,7 @@ require_once("captiveportal.inc");
require_once("rrd.inc"); require_once("rrd.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
if (set_networking_interfaces_ports()) { if (set_networking_interfaces_ports()) {
......
...@@ -31,6 +31,7 @@ require_once("config.inc"); ...@@ -31,6 +31,7 @@ require_once("config.inc");
require_once("util.inc"); require_once("util.inc");
require_once("filter.inc"); require_once("filter.inc");
require_once("system.inc"); require_once("system.inc");
require_once('openvpn.inc');
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
require_once("config.inc"); require_once("config.inc");
require_once("filter.inc"); require_once("filter.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once('openvpn.inc');
require_once("util.inc"); require_once("util.inc");
require_once("system.inc"); require_once("system.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
require_once("config.inc"); require_once("config.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("filter.inc"); require_once("filter.inc");
require_once("ipsec.inc"); require_once("ipsec.inc");
require_once("vpn.inc"); require_once("vpn.inc");
......
...@@ -35,6 +35,7 @@ require_once("vpn.inc"); ...@@ -35,6 +35,7 @@ require_once("vpn.inc");
require_once("captiveportal.inc"); require_once("captiveportal.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("ipsec.inc"); require_once("ipsec.inc");
require_once("services.inc"); require_once("services.inc");
......
...@@ -39,6 +39,7 @@ require_once("rrd.inc"); ...@@ -39,6 +39,7 @@ require_once("rrd.inc");
require_once("vpn.inc"); require_once("vpn.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("services.inc"); require_once("services.inc");
......
...@@ -39,6 +39,7 @@ require_once("captiveportal.inc"); ...@@ -39,6 +39,7 @@ require_once("captiveportal.inc");
require_once("rrd.inc"); require_once("rrd.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("services.inc"); require_once("services.inc");
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
require_once("guiconfig.inc"); require_once("guiconfig.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_bridge.php'); $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_bridge.php');
......
...@@ -30,6 +30,7 @@ require_once("guiconfig.inc"); ...@@ -30,6 +30,7 @@ require_once("guiconfig.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("openvpn.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_gif.php'); $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_gif.php');
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
require_once("guiconfig.inc"); require_once("guiconfig.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_gre.php'); $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_gre.php');
......
...@@ -30,6 +30,7 @@ require_once("guiconfig.inc"); ...@@ -30,6 +30,7 @@ require_once("guiconfig.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("openvpn.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_lagg.php'); $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_lagg.php');
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
require_once("guiconfig.inc"); require_once("guiconfig.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("openvpn.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
$referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_vlan.php'); $referer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '/interfaces_vlan.php');
......
...@@ -32,6 +32,7 @@ require_once("guiconfig.inc"); ...@@ -32,6 +32,7 @@ require_once("guiconfig.inc");
require_once("system.inc"); require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("pfsense-utils.inc"); require_once("pfsense-utils.inc");
require_once("openvpn.inc");
if ($_POST['if'] && $_POST['submit']) { if ($_POST['if'] && $_POST['submit']) {
$interface = $_POST['if']; $interface = $_POST['if'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment