mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 23:26:44 -08:00
allow blocking whole subnets
This commit is contained in:
@@ -70,7 +70,7 @@ namespace net_utils
|
||||
|
||||
struct i_connection_filter
|
||||
{
|
||||
virtual bool is_remote_host_allowed(const epee::net_utils::network_address &address)=0;
|
||||
virtual bool is_remote_host_allowed(const epee::net_utils::network_address &address, time_t *t = NULL)=0;
|
||||
protected:
|
||||
virtual ~i_connection_filter(){}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user