diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-11 00:48:58 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-11 11:25:59 +0200 |
commit | becda904d1c4a8995488713420265c7c85a64cb9 (patch) | |
tree | 6629dee8cc04900ef82094f22abb83a756f99190 /src | |
parent | 2928a338dee759d8635b87fc96abe090ebad80e5 (diff) | |
download | vyos-1x-becda904d1c4a8995488713420265c7c85a64cb9.tar.gz vyos-1x-becda904d1c4a8995488713420265c7c85a64cb9.zip |
vpn: l2tp: T2264: remove debug pprint
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/vpn_l2tp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/conf_mode/vpn_l2tp.py b/src/conf_mode/vpn_l2tp.py index bb51b4573..fa336f6de 100755 --- a/src/conf_mode/vpn_l2tp.py +++ b/src/conf_mode/vpn_l2tp.py @@ -302,13 +302,11 @@ def get_config(): if conf.exists(['ppp-options', 'lcp-echo-interval']): l2tp['ppp_echo_interval'] = conf.return_value(['ppp-options', 'lcp-echo-interval']) - import pprint - pprint.pprint(l2tp) return l2tp def verify(l2tp): - if l2tp == None: + if not l2tp: return None if l2tp['auth_mode'] == 'local': |