diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-09-01 21:43:37 +0200 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-09-01 21:43:37 +0200 |
commit | 7241feb185deaa5bdf2de0377a7725680b9f5ad3 (patch) | |
tree | 9f734d5867fee1a96ade58f1390249718f749147 /etc/inc/vpn.inc | |
parent | 06702ef7392c7a4d8d61424193c944d0efa896c6 (diff) | |
download | pfsense-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.inc | 2 |
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; |