From 619ee3bc58c20c54052b9adedc4b73635af5b755 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 15 Apr 2017 17:08:26 +0200 Subject: [PATCH] Added origin as to search output of subnet --- whoisdb/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whoisdb/helpers.py b/whoisdb/helpers.py index 0370020..d1015f0 100644 --- a/whoisdb/helpers.py +++ b/whoisdb/helpers.py @@ -33,7 +33,7 @@ def getWhoisObjectFields(obj, owner): elif c == whoisdb.models.InetNum: _addFields(fields, obj, ["name"]) 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: _addFields(fields, obj, ["name", "nameservers", "mnt_by", "admin_c"]) elif c == domains.models.Nameserver: