Commit 3624de11 authored by Tomas Hlavacek's avatar Tomas Hlavacek

Enable/disable debug via proper flag in defaults.

parent 73aacd92
......@@ -276,6 +276,7 @@ def matchCiscoBGPLines(header,lines):
result[-1].append(normalize(l[lgp[0]:lgp[1]]))
ulgmodel.debug("DEBUG bgpmatchlines:"+str(result))
return result
def normalizeBGPIPv6SumSplitLines(lines):
......
......@@ -42,7 +42,8 @@ def log(*messages):
pass
def debug(message):
log('DEBUG:' + message)
if(defaults.debug):
log('DEBUG:' + message)
def annotateAS(asn):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment