summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ef.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r--sys/net/if_ef.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index 04262c6..19c1687 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -247,7 +247,7 @@ ef_inputEII(struct mbuf *m, struct ether_header *eh, u_short ether_type)
#endif
#ifdef INET
case ETHERTYPE_IP:
- if (ip_fastforward(m))
+ if ((m = ip_fastforward(m)) == NULL)
return (0);
isr = NETISR_IP;
break;
OpenPOWER on IntegriCloud