feat(systemadmin): add IPv6 info to `geteip` command (#9856)

pull/9858/head
Wolfgang Ladermann 2021-04-23 16:23:26 +02:00 committed by GitHub
parent 0e5fed193e
commit 1916a31153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -131,7 +131,8 @@ d0() {
# gather external ip address
geteip() {
curl -s -S https://icanhazip.com
curl -s -S -4 https://icanhazip.com
curl -s -S -6 https://icanhazip.com
}
# determine local IP address(es)