devether: duplicate flags when copying blocks (thanks erik quanstro)
This commit is contained in:
parent
988d326f32
commit
8c3acde2de
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ etheriq(Ether* ether, Block* bp, int fromwire)
|
|||
else if(xbp = iallocb(len)){
|
||||
memmove(xbp->wp, pkt, len);
|
||||
xbp->wp += len;
|
||||
xbp->flag = bp->flag;
|
||||
if(qpass(f->in, xbp) < 0) {
|
||||
// print("soverflow for f->in\n");
|
||||
ether->soverflows++;
|
||||
|
|
Loading…
Reference in a new issue