summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-12-24 10:57:21 +0000
committerphk <phk@FreeBSD.org>2000-12-24 10:57:21 +0000
commit6bfb7240b822195a74d4fa5a8268f2143dc0102e (patch)
tree405d81d62b19cc1cbb3560b679a7e9ebbb48cf2e /sys/netinet/udp_usrreq.c
parentf57db1fdc0f7f85d46f2d4044f81ba307bd16a5d (diff)
downloadFreeBSD-src-6bfb7240b822195a74d4fa5a8268f2143dc0102e.zip
FreeBSD-src-6bfb7240b822195a74d4fa5a8268f2143dc0102e.tar.gz
Update the "icmp_admin_prohib_like_rst" code to check the tcp-window and
to be configurable with respect to acting only in SYN or in all TCP states. PR: 23665 Submitted by: Jesper Skriver <jesper@skriver.dk>
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 651e166..5ddcecc 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -512,9 +512,9 @@ udp_ctlinput(cmd, sa, vip)
if (ip) {
uh = (struct udphdr *)((caddr_t)ip + (ip->ip_hl << 2));
in_pcbnotify(&udb, sa, uh->uh_dport, ip->ip_src, uh->uh_sport,
- cmd, udp_notify);
+ cmd, udp_notify, 0, 0);
} else
- in_pcbnotify(&udb, sa, 0, zeroin_addr, 0, cmd, udp_notify);
+ in_pcbnotify(&udb, sa, 0, zeroin_addr, 0, cmd, udp_notify, 0, 0);
}
static int
OpenPOWER on IntegriCloud