mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 23:04:23 +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;
|
break;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "windivert: recv failed. errno %d\n", errno);
|
fprintf(stderr, "windivert: recv failed. errno %d\n", errno);
|
||||||
break;
|
return w_win32_error;
|
||||||
}
|
}
|
||||||
*ifout=0;
|
*ifout=0;
|
||||||
if (wa.Outbound) snprintf(ifout,sizeof(ifout),"%u.%u", wa.Network.IfIdx, wa.Network.SubIfIdx);
|
if (wa.Outbound) snprintf(ifout,sizeof(ifout),"%u.%u", wa.Network.IfIdx, wa.Network.SubIfIdx);
|
||||||
|
Loading…
Reference in New Issue
Block a user