Skip to content

Commit

Permalink
Merge pull request #5979 from mysteriumnetwork/fix/dvpn-linux
Browse files Browse the repository at this point in the history
Don't use the "tun" interface prefix for resolvconf call
  • Loading branch information
Zensey authored Feb 21, 2024
2 parents d99042a + 4e98ea3 commit 68056b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/package/config/linux/update-resolv-conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ case "$script_type" in
for NS in $NMSRVRS ; do
R="${R}nameserver $NS\n"
done
echo -e -n "$R" | sudo $RESOLVCONFBIN -a "tun.${dev}"
echo -e -n "$R" | sudo $RESOLVCONFBIN -a "${dev}"
;;
down)
sudo $RESOLVCONFBIN -d "tun.${dev}"
sudo $RESOLVCONFBIN -d "${dev}"
;;
esac

0 comments on commit 68056b2

Please sign in to comment.