mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 14:53:18 +00:00
winws: return win32 error code on windivert recv failure
This commit is contained in:
parent
a145fe73fe
commit
1e8e46c14f
@ -433,7 +433,7 @@ static int win_main(const char *windivert_filter)
|
||||
break;
|
||||
}
|
||||
fprintf(stderr, "windivert: recv failed. errno %d\n", errno);
|
||||
break;
|
||||
return w_win32_error;
|
||||
}
|
||||
*ifout=0;
|
||||
if (wa.Outbound) snprintf(ifout,sizeof(ifout),"%u.%u", wa.Network.IfIdx, wa.Network.SubIfIdx);
|
||||
|
Loading…
Reference in New Issue
Block a user