From 738230d4ccc9788f4d828d8a614984574dd1c157 Mon Sep 17 00:00:00 2001 From: Neo_Chen Date: Mon, 11 May 2020 21:14:38 +0800 Subject: [PATCH] VPN: wg-postup.sh: missing dev --- vpn/wg-postup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 vpn/wg-postup.sh diff --git a/vpn/wg-postup.sh b/vpn/wg-postup.sh old mode 100644 new mode 100755 index 36f14df..86af848 --- a/vpn/wg-postup.sh +++ b/vpn/wg-postup.sh @@ -8,5 +8,5 @@ PEER_IPV6="$5" ip addr del "$LOCAL_IP" dev "$IF" ip addr add "$LOCAL_IP" peer "$PEER_IP" dev "$IF" -ip addr del "$LOCAL_IPV6" +ip addr del "$LOCAL_IPV6" dev "$IF" ip addr add "$LOCAL_IPV6" peer "$PEER_IPV6" dev "$IF"