summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-15 03:33:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-15 03:33:18 +0000
commit767a716ecd96105621e239633c04651a02bd8fb8 (patch)
treea9455173dba67b71599f611cb3eebb6aaa584745 /etc/inc/vpn.inc
parent3e789a8b1385cbd0ccc952b7eac5e1e01ff1a478 (diff)
downloadpfsense-767a716ecd96105621e239633c04651a02bd8fb8.zip
pfsense-767a716ecd96105621e239633c04651a02bd8fb8.tar.gz
Correct warnings and errors found eclipse
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 18bc8a4..c98462a 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -69,6 +69,7 @@ function vpn_ipsec_failover_configure() {
}
function find_last_gif_device() {
+ $regs = "";
$last_gif_found = -1;
if (!($fp = popen("/sbin/ifconfig -l", "r"))) return -1;
$ifconfig_data = fread($fp, 4096);
@@ -85,7 +86,7 @@ function find_last_gif_device() {
}
function vpn_ipsec_configure($ipchg = false) {
- global $config, $g;
+ global $config, $g, $sa, $sn;
if($g['booting'] == true) {
/* determine if we should load the via padlock module */
OpenPOWER on IntegriCloud