Remove duplicate code block

This commit is contained in:
Oliver Traber 2021-07-12 21:16:14 +02:00
parent ed0d0c8ab6
commit 300deeb771
Signed by: Bluemedia
GPG key ID: C7BA47275B086E2C

View file

@ -78,11 +78,6 @@ create() {
fi
fi
#Set own ip6
if [ -n "$OWN_IP6" ]; then
ip route add "$OWN_IP6" dev "wg-$1"
fi
# Deny forwarding for excluded interfaces
for interface in "${EXCLUDED_INTERFACES[@]}"
do