diff options
Diffstat (limited to 'sys/netinet/ip_fastfwd.c')
-rw-r--r-- | sys/netinet/ip_fastfwd.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c index 667a04c..4041712 100644 --- a/sys/netinet/ip_fastfwd.c +++ b/sys/netinet/ip_fastfwd.c @@ -463,7 +463,7 @@ passin: if (!ipstealth) { #endif if (ip->ip_ttl <= IPTTLDEC) { - icmp_error(m, ICMP_TIMXCEED, ICMP_TIMXCEED_INTRANS, NULL, NULL); + icmp_error(m, ICMP_TIMXCEED, ICMP_TIMXCEED_INTRANS, 0, NULL); return 1; } @@ -503,7 +503,7 @@ passin: } else { ipstat.ips_noroute++; ipstat.ips_cantforward++; - icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, NULL, NULL); + icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, NULL); if (ro.ro_rt) RTFREE(ro.ro_rt); return 1; @@ -707,8 +707,7 @@ droptoours: /* Used for DIVERT */ } else { ipstat.ips_noroute++; ipstat.ips_cantforward++; - icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, - NULL, NULL); + icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, NULL); if (ro.ro_rt) RTFREE(ro.ro_rt); return 1; @@ -750,7 +749,7 @@ droptoours: /* Used for DIVERT */ */ if (ip->ip_off & IP_DF) { icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_NEEDFRAG, - NULL, ifp); + 0, ifp); ipstat.ips_cantfrag++; RTFREE(ro.ro_rt); return 1; |