Merge branch 'master' of github.com:stv0g/bird-lg

This commit is contained in:
root 2015-04-04 20:19:23 +02:00
commit ba79e3c575
2 changed files with 1 additions and 2 deletions

2
lg.py
View file

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

View file

@ -20,7 +20,6 @@
###
from dns import resolver, reversename
from toolboxconfig import ASN_ZONE
import socket
import pickle