Add get_ip_filter() to session
This commit is contained in:
@@ -184,7 +184,8 @@ The ``session`` class has the following synopsis::
|
||||
entry state() const;
|
||||
|
||||
void set_ip_filter(ip_filter const& f);
|
||||
|
||||
ip_filter const& get_ip_filter() const;
|
||||
|
||||
session_status status() const;
|
||||
cache_status get_cache_status() const;
|
||||
|
||||
@@ -628,6 +629,14 @@ accepted and not, see ip_filter_.
|
||||
Each time a peer is blocked because of the IP filter, a peer_blocked_alert_ is
|
||||
generated.
|
||||
|
||||
get_ip_filter()
|
||||
---------------
|
||||
|
||||
::
|
||||
ip_filter const& get_ip_filter() const;
|
||||
|
||||
Returns the ip_filter currently in the session. See ip_filter_.
|
||||
|
||||
|
||||
status()
|
||||
--------
|
||||
|
Reference in New Issue
Block a user