fix prefix option

This commit is contained in:
Mehdi ABAAKOUK 2011-12-19 00:17:30 +01:00
parent fb22ef2ff8
commit 1f56e3b275
1 changed files with 3 additions and 0 deletions

3
lg.py
View File

@ -37,6 +37,9 @@ def check_ipv6(n):
def hello():
return render_template('index.html')
@app.route("/<host>/<proto>/prefix/")
@app.route("/<host>/<proto>/prefix/<prefix>")
@app.route("/<host>/<proto>/prefix/<prefix>/<mask>")
@app.route("/<host>/<proto>/prefix<all>/")
@app.route("/<host>/<proto>/prefix<all>/<prefix>")
@app.route("/<host>/<proto>/prefix<all>/<prefix>/<mask>")