Added origin as to search output of subnet

This commit is contained in:
Sebastian Lohff 2017-04-15 17:08:26 +02:00
parent 306e66440d
commit 619ee3bc58
1 changed files with 1 additions and 1 deletions

View File

@ -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: