mirror of
https://github.com/opnsense/src.git
synced 2026-04-05 09:25:25 -04:00
The selectroute functions does own account of EHOSTUNREACH errors,
no need to do it twice. MFC after: 1 week
This commit is contained in:
parent
6b926c8f45
commit
61d88f3421
1 changed files with 0 additions and 8 deletions
|
|
@ -645,14 +645,6 @@ again:
|
|||
ifp = ro->ro_rt->rt_ifp;
|
||||
} else if ((error = in6_selectroute_fib(&dst_sa, opt, im6o, ro,
|
||||
&ifp, &rt, inp ? inp->inp_inc.inc_fibnum : M_GETFIB(m))) != 0) {
|
||||
switch (error) {
|
||||
case EHOSTUNREACH:
|
||||
V_ip6stat.ip6s_noroute++;
|
||||
break;
|
||||
case EADDRNOTAVAIL:
|
||||
default:
|
||||
break; /* XXX statistics? */
|
||||
}
|
||||
if (ifp != NULL)
|
||||
in6_ifstat_inc(ifp, ifs6_out_discard);
|
||||
goto bad;
|
||||
|
|
|
|||
Loading…
Reference in a new issue