Fix IP address sorting
IP addresses in IP ranges are now sorted correctly by their numerical value.
This commit is contained in:
parent
ff95c88bc5
commit
a44fff3e81
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue