Moving the wildcard

This commit is contained in:
Mike Reeves
2021-02-24 16:09:37 -05:00
parent 262bf03595
commit b30f964974

View File

@@ -751,7 +751,7 @@ check_sos_appliance() {
} }
compare_main_nic_ip() { compare_main_nic_ip() {
if [[ "$MNIC" == "TUN*" ]] || [[ "$MNIC" == "wg*" ]] || [[ "$MNIC" == "vpn*" ]]; then if [[ "$MNIC" == "tun"* ]] || [[ "$MNIC" == "wg"* ]] || [[ "$MNIC" == "vpn"* ]]; then
echo "This is a VPN" echo "This is a VPN"
else else
if [[ "$MAINIP" != "$MNIC_IP" ]]; then if [[ "$MAINIP" != "$MNIC_IP" ]]; then