Merge branch 'master' of github.com:stv0g/bird-lg
This commit is contained in:
commit
ba79e3c575
2 changed files with 1 additions and 2 deletions
2
lg.py
2
lg.py
|
@ -721,7 +721,7 @@ def show_route(request_type, hosts, proto):
|
|||
continue
|
||||
|
||||
if bgpmap:
|
||||
if app.config['BIRD_HAS_FULL_VIEW']:
|
||||
if app.config.get('BIRD_HAS_FULL_VIEW', False):
|
||||
detail = build_as_tree_from_full_view(host, proto, res)
|
||||
else:
|
||||
detail[host] = build_as_tree_from_raw_bird_ouput(host, proto, res)
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
###
|
||||
|
||||
from dns import resolver, reversename
|
||||
from toolboxconfig import ASN_ZONE
|
||||
|
||||
import socket
|
||||
import pickle
|
||||
|
|
Loading…
Add table
Reference in a new issue