diff options
author | Phil Davis <phil.davis@inf.org> | 2016-04-21 15:18:01 +0545 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-21 13:44:20 -0400 |
commit | 51247e9379c3e3fb06955d0c4403c82277f4e9cc (patch) | |
tree | 88c4cb6906602267c39968174d4d62a2036db1a0 /tools | |
parent | 5ea38db1d54713f0a25f77089246d10a49b6336e (diff) | |
download | pfsense-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