@ -1020,6 +1020,8 @@ void CConnman::AcceptConnection(const ListenSocket& hListenSocket) {
LogPrintf ( " Warning: Unknown socket family \n " ) ;
LogPrintf ( " Warning: Unknown socket family \n " ) ;
}
}
const CAddress addr_bind = GetBindAddress ( hSocket ) ;
NetPermissionFlags permissionFlags = NetPermissionFlags : : PF_NONE ;
NetPermissionFlags permissionFlags = NetPermissionFlags : : PF_NONE ;
hListenSocket . AddSocketPermissionFlags ( permissionFlags ) ;
hListenSocket . AddSocketPermissionFlags ( permissionFlags ) ;
AddWhitelistPermissionFlags ( permissionFlags , addr ) ;
AddWhitelistPermissionFlags ( permissionFlags , addr ) ;
@ -1085,7 +1087,6 @@ void CConnman::AcceptConnection(const ListenSocket& hListenSocket) {
NodeId id = GetNewNodeId ( ) ;
NodeId id = GetNewNodeId ( ) ;
uint64_t nonce = GetDeterministicRandomizer ( RANDOMIZER_ID_LOCALHOSTNONCE ) . Write ( id ) . Finalize ( ) ;
uint64_t nonce = GetDeterministicRandomizer ( RANDOMIZER_ID_LOCALHOSTNONCE ) . Write ( id ) . Finalize ( ) ;
CAddress addr_bind = GetBindAddress ( hSocket ) ;
ServiceFlags nodeServices = nLocalServices ;
ServiceFlags nodeServices = nLocalServices ;
if ( NetPermissions : : HasFlag ( permissionFlags , PF_BLOOMFILTER ) ) {
if ( NetPermissions : : HasFlag ( permissionFlags , PF_BLOOMFILTER ) ) {