diff --git a/conf/requirements.pip b/conf/requirements.pip index 7fb13f8135abd777a17799df361733c0922ba739..bce0fa717d62b99880e6113ae6eab4f2fb77d230 100644 --- a/conf/requirements.pip +++ b/conf/requirements.pip @@ -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 diff --git a/lib/mentat/datatype/internal.py b/lib/mentat/datatype/internal.py index 834ebc5409b3a9fdf5f5b6d0e2e22a5de7b63b58..ed46c9dec6fd136dd11bd375aafac68bcdd41907 100644 --- a/lib/mentat/datatype/internal.py +++ b/lib/mentat/datatype/internal.py @@ -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()