diff options
author | Bill Marquette <billm@pfsense.org> | 2005-08-06 19:36:37 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-08-06 19:36:37 +0000 |
commit | a65df5d0be26c490ddba9063a832c31fe0d79b8c (patch) | |
tree | d07f29ef9ad542a88ed0cec9c25b3909cc3759fb /usr/local/www/firewall_nat_1to1_edit.php | |
parent | 07168cc3466180a865c8f896830a58945752c92a (diff) | |
download | pfsense-a65df5d0be26c490ddba9063a832c31fe0d79b8c.zip pfsense-a65df5d0be26c490ddba9063a832c31fe0d79b8c.tar.gz |
Fix ticket #283 - remove check for virtual IP existing and not allowing 1:1
Diffstat (limited to 'usr/local/www/firewall_nat_1to1_edit.php')
-rwxr-xr-x | usr/local/www/firewall_nat_1to1_edit.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/usr/local/www/firewall_nat_1to1_edit.php b/usr/local/www/firewall_nat_1to1_edit.php index 66f0ccd..bf7abfa 100755 --- a/usr/local/www/firewall_nat_1to1_edit.php +++ b/usr/local/www/firewall_nat_1to1_edit.php @@ -96,17 +96,6 @@ if ($_POST) { } } - /* check for overlaps with Virtual IPs */ - if (is_array($config['virtualip']['vip'])) { - foreach ($config['virtualip']['vip'] as $vipent) { - if (check_subnets_overlap($_POST['external'], $_POST['subnet'], - $vipent['subnet'], 32)) { - $input_errors[] = "Virtual IP entry overlaps with the specified external subnet."; - break; - } - } - } - /* check for overlaps with advanced outbound NAT */ if (is_array($config['nat']['advancedoutbound']['rule'])) { foreach ($config['nat']['advancedoutbound']['rule'] as $natent) { @@ -150,7 +139,7 @@ include("head.inc"); <p class="pgtitle"><?=$pgtitle?></p> <?php if ($input_errors) print_input_errors($input_errors); ?> <form action="firewall_nat_1to1_edit.php" method="post" name="iform" id="iform"> - <?display_topbar()?> + <table width="100%" border="0" cellpadding="6" cellspacing="0"> <tr> <td width="22%" valign="top" class="vncellreq">Interface</td> |