Skip to content
Snippets Groups Projects
Commit af2bf47e authored by Jan Mach's avatar Jan Mach
Browse files

Updated ipranges library to version 0.1.10 and typedcols library to 0.1.13.

(Redmine issue: #3387)
parent 0dc1ec6c
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,6 @@ rrdtool==0.1.11
pydgets==0.9
pyzenkit==0.43
pynspect==0.14
ipranges==0.1.9
typedcols==0.1.9
ipranges==0.1.10
typedcols==0.1.13
idea-format==0.1.11
......@@ -310,10 +310,10 @@ def t_network_record(val, source = None):
record['id'] = val.get('id', gen_sid())
record['network'] = str(record['nrobj'])
if record['type'] == NR_TYPE_IPV4:
record['ip4_start'] = record['nrobj'].util.to_str(record['nrobj'].low())
record['ip4_end'] = record['nrobj'].util.to_str(record['nrobj'].high())
record['ip4_start'] = record['nrobj'].to_str(record['nrobj'].low())
record['ip4_end'] = record['nrobj'].to_str(record['nrobj'].high())
else:
record['ip6_addr'] = record['nrobj'].util.to_str(record['nrobj'].base)
record['ip6_addr'] = record['nrobj'].to_str(record['nrobj'].base)
record['ip6_prefix'] = record['nrobj'].cidr
record['first'] = record['nrobj'].low()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment