X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/927332fef31e74d7c85b8904543e5ee618050392..fdd63454b51a35418ec23d3489cf20ae66a2299d:/bin/whatsmyip diff --git a/bin/whatsmyip b/bin/whatsmyip index c72ed04..2d0d796 100755 --- a/bin/whatsmyip +++ b/bin/whatsmyip @@ -1,3 +1,8 @@ #!/bin/bash -curl -s ip.rmz.io +curl -4 -s ip.rmz.io && echo +ret4=$? +curl -6 -s ip.rmz.io && echo +ret6=$? + +exit $((ret4 && ret6))