summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_l2tp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-11 00:48:58 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-11 11:25:59 +0200
commitbecda904d1c4a8995488713420265c7c85a64cb9 (patch)
tree6629dee8cc04900ef82094f22abb83a756f99190 /src/conf_mode/vpn_l2tp.py
parent2928a338dee759d8635b87fc96abe090ebad80e5 (diff)
downloadvyos-1x-becda904d1c4a8995488713420265c7c85a64cb9.tar.gz
vyos-1x-becda904d1c4a8995488713420265c7c85a64cb9.zip
vpn: l2tp: T2264: remove debug pprint
Diffstat (limited to 'src/conf_mode/vpn_l2tp.py')
-rwxr-xr-xsrc/conf_mode/vpn_l2tp.py4
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':