diff --git a/sys/src/9/ip/ipmux.c b/sys/src/9/ip/ipmux.c index 2eeca4153..2fefe7520 100644 --- a/sys/src/9/ip/ipmux.c +++ b/sys/src/9/ip/ipmux.c @@ -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);