[fix] Interface name in iptables
@@ -24,7 +24,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
-**Shipped version:** 2.0.2~ynh4
+**Shipped version:** 2.0.2~ynh5
@@ -20,7 +20,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
-**Version incluse :** 2.0.2~ynh4
+**Version incluse :** 2.0.2~ynh5
@@ -13,7 +13,7 @@ for i in ${server_names}; do
fi
done
-interface=$(ip route | awk '/default via/ { print $NF; }')
+interface=$(ip route | awk '/default via/ { print $5; }')
dns=$(grep -o -P '\s*nameserver\s+\K[ABCDEFabcdef\d.:]+' /etc/resolv.dnsmasq.conf)
# IPv6
@@ -6,7 +6,7 @@
"en": "Tunnel the internet traffic through a VPN",
"fr": "Fait passer le trafic internet à travers un VPN"
},
- "version": "2.0.2~ynh4",
+ "version": "2.0.2~ynh5",
"url": "https://labriqueinter.net",
"license": "AGPL-3.0",
"maintainer": {