mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Moving the wildcard
This commit is contained in:
@@ -751,7 +751,7 @@ check_sos_appliance() {
|
||||
}
|
||||
|
||||
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"
|
||||
else
|
||||
if [[ "$MAINIP" != "$MNIC_IP" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user