Update check_gateway_v4.sh

bugfix