The environment variable _IPSET_COMP_NETWORKS controls wether networks
from /etc/networks are taken into account for completion.
Added new ipset options (bytes, packets).
Added nomatch option for test action of hash:*net* sets.
Fix: _ipset_set_has_timeout() misspelled and double defined.
Hostnames containing a hyphen now get surrounded by square brackets.
This has one limitation: [host-foo],service_x- does not complete, though services containing a hyphen ([ser-vice]).
Fix: version check for counter support.
Move hostname completion to dedicated function.
bash v4+ is now mandatory.
Add generic function to look for headers options.
Add completion of ip addresses and hostnames after the range option.
Fix: hostname completion containing a hypen for hash:net,port.
Update Readme.
Add support for hostname ranges in _ipset_complete_hostport_spec().
Add completion of [hostname] ranges for hash:ip|bitmap:ip|hash:net
when adding elements.
Add missing del/test completion for hash:ip, hash:net, bitmap:ip,mac.
Lot of changes to support ip/hostname ranges at the correct places,
still needs some work.
Don't complete ranges if action is test in _ipset_complete_iface_spec().
Show hyphen or comma at end of first part of hash:net,iface in _ipset_complete_iface_spec().
Add a space to proto:port if we have a range and the type
is not of hash:ip,port,@(ip,|net)
Changed the call of _ipset_complete_portrange().
Minor optimisation.
Move extglob to global scope.
Make sure we don't modify 'cur' in _ipset_complete_iface_spec() and _ipset_complete_hostport_spec().
Add a hack to avoid colon left-trim in _known_hosts_real().
Update Readme.md.
Declare _ipset_known_hosts() only once.
Bump version to 2.1.