diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-06-04 08:24:52 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-06-04 08:24:52 -0300 |
commit | 4eb3ac52b07533c26a1ebf3e496d25669629a038 (patch) | |
tree | eb78553c2bc3e4e7c145e2d176d9a992553b2613 | |
parent | 2058ed155f26a46834e375b3df1f603e50a0fbff (diff) | |
download | pfsense-4eb3ac52b07533c26a1ebf3e496d25669629a038.zip pfsense-4eb3ac52b07533c26a1ebf3e496d25669629a038.tar.gz |
Also consider 0.0.0.0/0 here since it fails on is_subnet() but is a valid/special config. Fixes #3016
-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 ac6a37e..3edb027 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -871,7 +871,7 @@ EOD; if(($ph2ent['mode'] == "tunnel") or ($ph2ent['mode'] == 'tunnel6')) { // Error will be logged above, no need to log this twice. #2201 - if (!is_subnet($localid)) + if (!is_subnet($localid) && ($localid != "0.0.0.0/0"))) continue; if($ph2ent['mode'] == "tunnel6") |