summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-04-21 15:18:01 +0545
committerStephen Beaver <sbeaver@netgate.com>2016-04-21 13:44:20 -0400
commit51247e9379c3e3fb06955d0c4403c82277f4e9cc (patch)
tree88c4cb6906602267c39968174d4d62a2036db1a0 /tools
parent5ea38db1d54713f0a25f77089246d10a49b6336e (diff)
downloadpfsense-51247e9379c3e3fb06955d0c4403c82277f4e9cc.zip
pfsense-51247e9379c3e3fb06955d0c4403c82277f4e9cc.tar.gz
Fix #6173 Refactor NAT Edit src type matching
1) Remove a couple of unused calls to is_specialnet() 2) Change srctype_selected() to use a similar scheme to dsttype_selected() to decide if the existing value matches one of the dropdown list items. 3) Items like "WAN net" and "LAN net" in the src type dropdown were showing as just "WAN" and "LAN" in the dst type dropdown. Fixup the build_dsttype_list() code so it does the same as build_srctype_list() when making the text for those interface networks. (cherry picked from commit 74ac8b7aeb1cf08dbbcb3baff9c7b97abbe98858)
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud