summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/completion/list_wlm_peers.sh6
-rwxr-xr-xsrc/conf_mode/interfaces-ethernet.py2
-rwxr-xr-xsrc/op_mode/show_vpn_ra.py4
3 files changed, 3 insertions, 9 deletions
diff --git a/src/completion/list_wlm_peers.sh b/src/completion/list_wlm_peers.sh
deleted file mode 100755
index 12dd00650..000000000
--- a/src/completion/list_wlm_peers.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-if [ -d /etc/ppp/peers ]; then
- cd /etc/ppp/peers
- ls wlm*
-fi
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py
index f45a77a3e..0d73a30f1 100755
--- a/src/conf_mode/interfaces-ethernet.py
+++ b/src/conf_mode/interfaces-ethernet.py
@@ -202,7 +202,7 @@ def apply(eth):
e.dhcp.v6.options['dhcpv6_temporary'] = True
if eth['dhcpv6_pd']:
- e.dhcp.v6.options['dhcpv6_pd'] = e['dhcpv6_pd']
+ e.dhcp.v6.options['dhcpv6_pd'] = eth['dhcpv6_pd']
# ignore link state changes
e.set_link_detect(eth['disable_link_detect'])
diff --git a/src/op_mode/show_vpn_ra.py b/src/op_mode/show_vpn_ra.py
index 2323193b1..73688c4ea 100755
--- a/src/op_mode/show_vpn_ra.py
+++ b/src/op_mode/show_vpn_ra.py
@@ -24,8 +24,8 @@ from vyos.util import popen
def get_sessions():
absent_pptp = False
absent_l2tp = False
- pptp_cmd = ["accel-cmd", "-p 2003", "show sessions"]
- l2tp_cmd = ["accel-cmd", "-p 2004", "show sessions"]
+ pptp_cmd = "accel-cmd -p 2003 show sessions"
+ l2tp_cmd = "accel-cmd -p 2004 show sessions"
err_pattern = "^Connection.+failed$"
# This value for chack only output header without sessions.
len_def_header = 170