devip: cleanup ipmux.c
This commit is contained in:
parent
8962551055
commit
c80d94304d
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ nomatch:
|
||||||
ip6 = (Ip6hdr*)bp->rp;
|
ip6 = (Ip6hdr*)bp->rp;
|
||||||
p = f->t2p[ip6->proto];
|
p = f->t2p[ip6->proto];
|
||||||
}
|
}
|
||||||
if(p && p->rcv)
|
if(p != nil && p->rcv != nil)
|
||||||
(*p->rcv)(p, ifc, bp);
|
(*p->rcv)(p, ifc, bp);
|
||||||
else
|
else
|
||||||
freeblist(bp);
|
freeblist(bp);
|
||||||
|
|
Loading…
Reference in a new issue