Skip to content

Commit

Permalink
Fix comments for vpnip and pubip
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticRyuujin committed Aug 31, 2020
1 parent c112629 commit a305b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/getcommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,15 +271,15 @@ namespace
else if(type == GetSetType::vpnIp)
{
const auto &ip = client.connection().state.externalVpnIp();
// If the address isn't unknown, print Unknown
// If the address isn't known, print Unknown
if(ip.isEmpty())
return QStringLiteral("Unknown");
return ip;
}
else if(type == GetSetType::pubIp)
{
const auto &ip = client.connection().state.externalIp();
// If the address isn't unknown, print Unknown
// If the address isn't known, print Unknown
if(ip.isEmpty())
return QStringLiteral("Unknown");
return ip;
Expand Down

0 comments on commit a305b14

Please sign in to comment.