1
0
Fork 0
mirror of https://github.com/sileht/bird-lg.git synced 2024-11-21 14:34:43 +01:00

Merge pull request #55 from empi89/feature/add-direct-to-unwanted-protos

add direct to SUMMARY_UNWANTED_PROTOS
This commit is contained in:
zorun 2020-03-02 12:09:41 +01:00 committed by GitHub
commit 1abe3f410f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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