Fix IP address sorting

IP addresses in IP ranges are now sorted correctly by their numerical
value.
This commit is contained in:
Jan Dittberner 2016-05-04 12:42:51 +02:00
parent ff95c88bc5
commit a44fff3e81

View file

@ -231,7 +231,7 @@ def process_ips(app, doctree):
def sort_ip_info(item): def sort_ip_info(item):
return item['ip'] return Network(item['ip']).ip
def process_ip_nodes(app, doctree, fromdocname): def process_ip_nodes(app, doctree, fromdocname):