diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index b3aa0318c8f..389c7b06a25 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -700,7 +700,7 @@ ip_deliver(struct mbuf **mp, int *offp, int nxt, int af) break; #endif /* INET6 */ } - nxt = (*psw->pr_input)(mp, offp, nxt, af); + nxt = ip6_etherip_input(mp, offp, nxt, af); af = naf; } return nxt;