mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
actually commit ip filter
This commit is contained in:
parent
a383f42957
commit
8f18530113
1 changed files with 1 additions and 1 deletions
|
@ -1484,7 +1484,7 @@ static PyObject *torrent_add_range_to_IP_filter(PyObject *self, PyObject *args)
|
|||
address_v4 inet_start = address_v4::from_string(start);
|
||||
address_v4 inet_end = address_v4::from_string(end);
|
||||
M_the_filter->add_rule(inet_start, inet_end, ip_filter::blocked);
|
||||
|
||||
M_ses->set_ip_filter(*M_the_filter);
|
||||
Py_INCREF(Py_None); return Py_None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue