devether: duplicate flags when copying blocks (thanks erik quanstro)

This commit is contained in:
cinap_lenrek 2015-08-16 20:08:36 +02:00
parent 988d326f32
commit 8c3acde2de

View file

@ -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++;