Skip to content

Commit ce5e57b

Browse files
committed
feat: bring ip info back to status command
1 parent 5b51ddd commit ce5e57b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/vpn/vpn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ func (vpn *DefaultVpn) Status() error {
437437
return errors.NewNetworkError("get network details", err)
438438
}
439439

440+
output.PrintMsg(fmt.Sprintf(" IP Address: %s", network.Ip), output.MsgOutput)
440441
output.PrintMsg(fmt.Sprintf(" Country: %s", network.Geo.Country), output.MsgOutput)
441442
output.PrintMsg(fmt.Sprintf(" City: %s", network.Geo.City), output.MsgOutput)
442443

0 commit comments

Comments
 (0)