diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c --- a/sys/netinet/ip_fastfwd.c +++ b/sys/netinet/ip_fastfwd.c @@ -411,7 +411,6 @@ M_ASSERTPKTHDR(m); ip = mtod(m, struct ip *); - dest.s_addr = ip->ip_dst.s_addr; /* * Destination address changed? @@ -420,7 +419,7 @@ fwd_tag = m_tag_find(m, PACKET_TAG_IPFORWARD, NULL); else fwd_tag = NULL; - if (odest.s_addr != dest.s_addr || fwd_tag != NULL) { + if (odest.s_addr != ip->ip_dst.s_addr || fwd_tag != NULL) { /* * Is it now for a local address on this host? */