fix previously faulty fix to enum_routes
This commit is contained in:
parent
aed1f4ef9d
commit
a985773f4b
|
@ -901,7 +901,8 @@ namespace libtorrent
|
|||
{
|
||||
rtm = reinterpret_cast<rt_msghdr*>(next);
|
||||
if (rtm->rtm_version != RTM_VERSION
|
||||
|| rtm->rtm_type != RTM_ADD)
|
||||
|| (rtm->rtm_type != RTM_ADD
|
||||
&& rtm->rtm_type != RTM_GET))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue