mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-21 22:42:57 +03:00
Compare commits
No commits in common. "243a64cbec5a7e4cdbace38789e65e5efe73ffdb" and "00bf5f680c28e2c3fb5d8c3a08ac9cef5f520ff2" have entirely different histories.
243a64cbec
...
00bf5f680c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -127,16 +127,10 @@ static int nfq_cb(struct nfq_q_handle *qh, struct nfgenmsg *nfmsg, struct nfq_da
|
|||||||
*ifout=0;
|
*ifout=0;
|
||||||
if (params.bind_fix4 || params.bind_fix6)
|
if (params.bind_fix4 || params.bind_fix6)
|
||||||
{
|
{
|
||||||
char ifin[IFNAMSIZ+1];
|
|
||||||
uint32_t ifidx_in;
|
|
||||||
|
|
||||||
ifidx = nfq_get_outdev(nfa);
|
ifidx = nfq_get_outdev(nfa);
|
||||||
if (ifidx) if_indextoname(ifidx,ifout);
|
if (ifidx) if_indextoname(ifidx,ifout);
|
||||||
*ifin=0;
|
|
||||||
ifidx_in = nfq_get_indev(nfa);
|
|
||||||
if (ifidx_in) if_indextoname(ifidx_in,ifin);
|
|
||||||
|
|
||||||
DLOG("packet: id=%d len=%d mark=%08X ifin=%s(%u) ifout=%s(%u)\n", id, ilen, mark, ifin, ifidx_in, ifout, ifidx);
|
DLOG("packet: id=%d len=%d mark=%08X ifout=%s(%u)\n", id, ilen, mark, ifout, ifidx);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
// save some syscalls
|
// save some syscalls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user