mirror of
https://github.com/BluemediaDev/dn42-tools.git
synced 2024-12-22 16:55:28 +01:00
Remove duplicate code block
This commit is contained in:
parent
ed0d0c8ab6
commit
300deeb771
|
@ -78,11 +78,6 @@ create() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Set own ip6
|
|
||||||
if [ -n "$OWN_IP6" ]; then
|
|
||||||
ip route add "$OWN_IP6" dev "wg-$1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Deny forwarding for excluded interfaces
|
# Deny forwarding for excluded interfaces
|
||||||
for interface in "${EXCLUDED_INTERFACES[@]}"
|
for interface in "${EXCLUDED_INTERFACES[@]}"
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue