diff options
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 0b621d7..44ac25d 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -593,6 +593,7 @@ ether_input_internal(struct ifnet *ifp, struct mbuf *m) CURVNET_RESTORE(); return; } + eh = mtod(m, struct ether_header *); } /* @@ -607,6 +608,7 @@ ether_input_internal(struct ifnet *ifp, struct mbuf *m) CURVNET_RESTORE(); return; } + eh = mtod(m, struct ether_header *); } #if defined(INET) || defined(INET6) |