From 4c4e324768a5c39936fb870494d5e2622d22a4f5 Mon Sep 17 00:00:00 2001 From: Mehdi ABAAKOUK Date: Fri, 16 Dec 2011 12:55:39 +0100 Subject: [PATCH] estetic change --- lg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lg.py b/lg.py index 2198f72..11ab038 100755 --- a/lg.py +++ b/lg.py @@ -37,7 +37,7 @@ def hello(): @app.route("///prefix/") @app.route("///prefix//") def prefix(host, proto, prefix, mask=""): - output = '

' + host + '(' + proto + ') show route for ' + prefix + '/' + mask + '

' + output = '

' + host + '(' + proto + ') show route for ' + prefix + (mask and '/' + mask or '' ) + '

' # security check if ( (proto == "ipv6" and check_ipv6(prefix)) or (proto == "ipv4" and check_ipv4(prefix)) ) and check_mask(mask):