We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ba05ee commit 5737936Copy full SHA for 5737936
1 file changed
src/notation.go
@@ -28,7 +28,9 @@ func notate(str string) (nt tNotation) {
28
if isIPv4Full(nt.Pre) {
29
nt.Exp = nt.Pre
30
} else {
31
- localIP = getLocalIP().String()
+ if localIP == "" {
32
+ localIP = getLocalIP().String()
33
+ }
34
nt.Exp = replaceTail(localIP, nt.Pre)
35
}
36
0 commit comments