From 8cbbd2a9b32176172c05d22da5502b464b68e3a1 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Tue, 7 Apr 2020 13:25:39 +0000 Subject: l2tp: pptp: pppoe: T2237: Fix chap-secrets template format --- data/templates/pptp/chap-secrets.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates/pptp') diff --git a/data/templates/pptp/chap-secrets.tmpl b/data/templates/pptp/chap-secrets.tmpl index 6bfa2d64e..f93f4607b 100644 --- a/data/templates/pptp/chap-secrets.tmpl +++ b/data/templates/pptp/chap-secrets.tmpl @@ -1,6 +1,6 @@ # username server password acceptable local IP addresses {% for user in authentication['local-users'] %} {% if authentication['local-users'][user]['state'] == 'enabled' %} -{{user}}\t*\t{{authentication['local-users'][user]['passwd']}}\t{{authentication['local-users'][user]['ip']}} +{{ "%-12s" | format(user) }} * {{ "%-16s" | format(authentication['local-users'][user]['passwd']) }} {{ "%-16s" | format(authentication['local-users'][user]['ip']) }} {% endif %} {% endfor %} -- cgit v1.2.3