diff options
Diffstat (limited to 'src/usr/local/www/firewall_nat_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_edit.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php index a16bbed..0450163 100644 --- a/src/usr/local/www/firewall_nat_edit.php +++ b/src/usr/local/www/firewall_nat_edit.php @@ -3,7 +3,7 @@ * firewall_nat_edit.php * * part of pfSense (https://www.pfsense.org) - * Copyright (c) 2004-2016 Electric Sheep Fencing, LLC + * Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate) * All rights reserved. * * originally based on m0n0wall (http://m0n0.ch/wall) @@ -577,7 +577,8 @@ function build_dsttype_list() { if (is_ipaddrv6($sn['subnet'])) { continue; } - if ($sn['mode'] == "proxyarp" && $sn['type'] == "network") { + if (($sn['mode'] == "proxyarp" || $sn['mode'] == "other") && $sn['type'] == "network") { + $list[$sn['subnet'] . '/' . $sn['subnet_bits']] = 'Subnet: ' . $sn['subnet'] . '/' . $sn['subnet_bits'] . ' (' . $sn['descr'] . ')'; if (isset($sn['noexpand'])) { continue; } @@ -590,8 +591,6 @@ function build_dsttype_list() { $list[$snip] = $snip . ' (' . $sn['descr'] . ')'; } - - $list[$sn['subnet']] = $sn['subnet'] . ' (' . $sn['descr'] . ')'; } else { $list[$sn['subnet']] = $sn['subnet'] . ' (' . $sn['descr'] . ')'; } |