diff options
| author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2020-11-29 19:43:33 +0000 |
|---|---|---|
| committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2020-11-29 19:43:33 +0000 |
| commit | d1d941c5b910e075495cb06b92a99d3a3e7a3d6c (patch) | |
| tree | 2cda05a873f390e368eb570c4f5633f4788c4c31 /sys/netinet/ip_input.c | |
| parent | 2338da0373f19b511fb4625438565d26307243e4 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_input.c')
| -rw-r--r-- | sys/netinet/ip_input.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 89e2eeefa804e..be21decff6cb7 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -981,11 +981,7 @@ ip_forward(struct mbuf *m, int srcrt) sin->sin_family = AF_INET; sin->sin_len = sizeof(*sin); sin->sin_addr = ip->ip_dst; -#ifdef RADIX_MPATH - flowid = ntohl(ip->ip_src.s_addr ^ ip->ip_dst.s_addr); -#else flowid = m->m_pkthdr.flowid; -#endif ro.ro_nh = fib4_lookup(M_GETFIB(m), ip->ip_dst, 0, NHR_REF, flowid); if (ro.ro_nh != NULL) { ia = ifatoia(ro.ro_nh->nh_ifa); |
