summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-05-22 08:13:50 +0200
committersmos <seth.mos@dds.nl>2012-05-22 08:13:50 +0200
commit5a61fd69c9a0efe92216be8d4feb50ceb900e8cd (patch)
treed8aa860b6b9a9a2e22ca79bacd09bbf29eddf211 /etc/inc/vpn.inc
parente7de69fbd5cbe9900074e890b89b644065d7a4eb (diff)
downloadpfsense-5a61fd69c9a0efe92216be8d4feb50ceb900e8cd.zip
pfsense-5a61fd69c9a0efe92216be8d4feb50ceb900e8cd.tar.gz
Make sure that we match multiple characters.
Ticket #2415
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 3838300..b8ba7c8 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -906,7 +906,7 @@ EOD;
}
/* static route needed? */
- if (preg_match("/^carp|^[a-z0-9]_vip/i", $ph1ent['interface']))
+ if (preg_match("/^carp|^[a-z0-9]+_vip/i", $ph1ent['interface']))
$parentinterface = link_carp_interface_to_parent($ph1ent['interface']);
else
$parentinterface = $ph1ent['interface'];
OpenPOWER on IntegriCloud