diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-04-22 18:50:45 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-04-22 18:50:45 +0200 |
| commit | c80d94304d0b9946c822e073b637760a0894522a (patch) | |
| tree | bc15bc27468ff26cc2b2e760fc56e5bf405d136f | |
| parent | 89625510554e65ec088110195670092bfe95fea4 (diff) | |
| download | plan9front-c80d94304d0b9946c822e073b637760a0894522a.tar.xz | |
devip: cleanup ipmux.c
| -rw-r--r-- | sys/src/9/ip/ipmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
