summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-07-14 08:21:30 +0700
committerGitHub <noreply@github.com>2019-07-14 08:21:30 +0700
commitfc20c5aac8e64b58e8c7930abf2beb78455dc2f7 (patch)
treea27269e43c2d357d549343925f4ed9b43afe952a
parent787c8f93b0e8e22d77a1df1d6be423de681ad03c (diff)
parenta8a92eb3fcef8ed911ebcaedd32dc5b948c6c79a (diff)
downloadvyos-1x-fc20c5aac8e64b58e8c7930abf2beb78455dc2f7.tar.gz
vyos-1x-fc20c5aac8e64b58e8c7930abf2beb78455dc2f7.zip
Merge pull request #89 from DmitriyEshenko/patch-3
T1523 Fix bind param if outside-address not present
-rwxr-xr-xsrc/conf_mode/accel_pptp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/accel_pptp.py b/src/conf_mode/accel_pptp.py
index 6c53e8dd4..5f8ccfd84 100755
--- a/src/conf_mode/accel_pptp.py
+++ b/src/conf_mode/accel_pptp.py
@@ -84,7 +84,9 @@ wins2={{wins[1]}}
{% endif %}
[pptp]
+{% if outside_addr %}
bind={{outside_addr}}
+{% endif %}
verbose=5
ppp-max-mtu={{mtu}}
mppe={{authentication['mppe']}}