devip: cleanup ipmux.c

front
cinap_lenrek 2018-04-22 18:50:45 +02:00
parent 8962551055
commit c80d94304d
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,7 @@ nomatch:
ip6 = (Ip6hdr*)bp->rp;
p = f->t2p[ip6->proto];
}
if(p && p->rcv)
if(p != nil && p->rcv != nil)
(*p->rcv)(p, ifc, bp);
else
freeblist(bp);