mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-21 05:39:11 -04:00
Added ip address to the info in SecurityIpItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2b5dca3a39
commit
df5d69540a
5 changed files with 12 additions and 5 deletions
|
@ -135,7 +135,7 @@ void RsBanListToolButton::applyIp()
|
|||
return;
|
||||
}
|
||||
|
||||
sockaddr_storage addr ;
|
||||
sockaddr_storage addr;
|
||||
int masked_bytes;
|
||||
|
||||
if (!RsNetUtil::parseAddrFromQString(mIpAddress, addr, masked_bytes)) {
|
||||
|
@ -165,6 +165,6 @@ void RsBanListToolButton::applyIp()
|
|||
}
|
||||
|
||||
if (changed) {
|
||||
emit banListChanged();
|
||||
emit banListChanged(RsNetUtil::printAddrRange(addr, masked_bytes));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue