1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-25 00:04:42 +01:00

direct is also an protocol that should be not shown

This commit is contained in:
Peter Hansen 2019-12-28 11:37:05 +01:00
parent fa1c071682
commit 307a96d063

2
lg.py
View file

@ -222,7 +222,7 @@ def whois():
return jsonify(output=output, title=query)
SUMMARY_UNWANTED_PROTOS = ["Kernel", "Static", "Device"]
SUMMARY_UNWANTED_PROTOS = ["Kernel", "Static", "Device", "Direct"]
@app.route("/summary/<hosts>")
@app.route("/summary/<hosts>/<proto>")