Added origin as to search output of subnet
This commit is contained in:
parent
306e66440d
commit
619ee3bc58
|
@ -33,7 +33,7 @@ def getWhoisObjectFields(obj, owner):
|
||||||
elif c == whoisdb.models.InetNum:
|
elif c == whoisdb.models.InetNum:
|
||||||
_addFields(fields, obj, ["name"])
|
_addFields(fields, obj, ["name"])
|
||||||
fields.append(("Address CIDR", obj.prefix()))
|
fields.append(("Address CIDR", obj.prefix()))
|
||||||
_addFields(fields, obj, ["description", "parent_range", "mnt_by", "mnt_lower", "admin_c"])
|
_addFields(fields, obj, ["description", "parent_range", "origin_as", "mnt_by", "mnt_lower", "admin_c"])
|
||||||
elif c == domains.models.Domain:
|
elif c == domains.models.Domain:
|
||||||
_addFields(fields, obj, ["name", "nameservers", "mnt_by", "admin_c"])
|
_addFields(fields, obj, ["name", "nameservers", "mnt_by", "admin_c"])
|
||||||
elif c == domains.models.Nameserver:
|
elif c == domains.models.Nameserver:
|
||||||
|
|
Loading…
Reference in New Issue