This change does: 1) Allow bulk import of a port alias. That happens when the Import button is pressed from the Ports tab of the firewall_aliases screen. 2) Allow bulk import of an IP alias, automatically determine if the imported data fits a host or network alias type. That happens when the Import button is pressed from the IP tab of the firewall_aliases screen. 3) When Import is pressed from the "All" tab of the firewall_aliases screen, make an IP alias. 4) Do not display the Import button when on the URL tab of the firewall_aliases screen.
(cherry picked from commit e4c784bfeb5d9bad4c65c421cefb767af0b164dd)
Related issues
Bug #6582: Import on Firewall/Aliases Only Works for IPs
Fix #6582 Allow import of ports
This change does:
1) Allow bulk import of a port alias. That happens when the Import
button is pressed from the Ports tab of the firewall_aliases screen.
2) Allow bulk import of an IP alias, automatically determine if the
imported data fits a host or network alias type. That happens when the
Import button is pressed from the IP tab of the firewall_aliases screen.
3) When Import is pressed from the "All" tab of the firewall_aliases
screen, make an IP alias.
4) Do not display the Import button when on the URL tab of the
firewall_aliases screen.
(cherry picked from commit e4c784bfeb5d9bad4c65c421cefb767af0b164dd)