summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-09-01 21:43:37 +0200
committerSeth Mos <seth.mos@xs4all.nl>2009-09-01 21:43:37 +0200
commit7241feb185deaa5bdf2de0377a7725680b9f5ad3 (patch)
tree9f734d5867fee1a96ade58f1390249718f749147 /etc/inc/vpn.inc
parent06702ef7392c7a4d8d61424193c944d0efa896c6 (diff)
downloadpfsense-7241feb185deaa5bdf2de0377a7725680b9f5ad3.zip
pfsense-7241feb185deaa5bdf2de0377a7725680b9f5ad3.tar.gz
Fix typo in variable name which resulted in a incorrect format for the /var/db/ipsecpinghosts file.
Fixes half of #61
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 4db9900..fb7d303 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -207,7 +207,7 @@ function vpn_ipsec_configure($ipchg = false)
$pfd = fopen("/var/db/ipsecpinghosts", "a");
$iflist = get_configured_interface_list();
foreach ($iflist as $ifent => $ifname) {
- $interface_ip = get_interface_ip($ifnet);
+ $interface_ip = get_interface_ip($ifent);
$local_subnet = ipsec_idinfo_to_cidr($ph2ent['localid'], true);
if (ip_in_subnet($interface_ip, $local_subnet))
$srcip = $interface_ip;
OpenPOWER on IntegriCloud