diff options
author | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-02-11 07:39:51 +0000 |
---|---|---|
committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-02-11 07:39:51 +0000 |
commit | a57815efd2f9d14e317b9254dff5a5f184422d10 (patch) | |
tree | cd97b1cc94c233576a58dcc37f1800c133c93954 /sys/netinet/ip_icmp.c | |
parent | 122a814af56893b9dc5ab0c63c11dc666d1928d4 (diff) | |
download | src-test2-a57815efd2f9d14e317b9254dff5a5f184422d10.tar.gz src-test2-a57815efd2f9d14e317b9254dff5a5f184422d10.zip |
Notes
Diffstat (limited to 'sys/netinet/ip_icmp.c')
-rw-r--r-- | sys/netinet/ip_icmp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c index 98758ca1411e..6a277aafbd44 100644 --- a/sys/netinet/ip_icmp.c +++ b/sys/netinet/ip_icmp.c @@ -464,7 +464,7 @@ icmp_input(m, off, proto) break; } icp->icmp_type = ICMP_ECHOREPLY; - if (badport_bandlim(BANDLIM_ECHO) < 0) + if (badport_bandlim(BANDLIM_ICMP_ECHO) < 0) goto freeit; else goto reflect; @@ -482,7 +482,7 @@ icmp_input(m, off, proto) icp->icmp_type = ICMP_TSTAMPREPLY; icp->icmp_rtime = iptime(); icp->icmp_ttime = icp->icmp_rtime; /* bogus, do later! */ - if (badport_bandlim(BANDLIM_TSTAMP) < 0) + if (badport_bandlim(BANDLIM_ICMP_TSTAMP) < 0) goto freeit; else goto reflect; @@ -847,10 +847,10 @@ badport_bandlim(int which) int dticks; const char *bandlimittype[] = { "Limiting icmp unreach response", - "Limiting closed port RST response", - "Limiting open port RST response", "Limiting icmp ping response", - "Limiting icmp tstamp response" + "Limiting icmp tstamp response", + "Limiting closed port RST response", + "Limiting open port RST response" }; /* |