1916a31153ddf3e48d31e3a7193ed97eaf34097d

Author
Wolfgang Ladermann <wuerzelchen@users.noreply.github.com>
Committer
GitHub <noreply@github.com>
Date

Message

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

Diff

 1diff --git a/plugins/systemadmin/systemadmin.plugin.zsh b/plugins/systemadmin/systemadmin.plugin.zsh
 2index 08136abda19565ec005136efbcf9a2a2fdb7cdbd..a77f0069b7bfaecc147477071fbb0ffa4e56def8 100644
 3--- a/plugins/systemadmin/systemadmin.plugin.zsh
 4+++ b/plugins/systemadmin/systemadmin.plugin.zsh
 5@@ -131,7 +131,8 @@ d0() {
 6 
 7 # gather external ip address
 8 geteip() {
 9-    curl -s -S https://icanhazip.com
10+    curl -s -S -4 https://icanhazip.com
11+    curl -s -S -6 https://icanhazip.com
12 }
13 
14 # determine local IP address(es)