diff options
Diffstat (limited to 'slirp/udp.c')
-rw-r--r-- | slirp/udp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/slirp/udp.c b/slirp/udp.c index 8030326..ca353b7 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -158,6 +158,9 @@ udp_input(m, iphlen) goto bad; } + if (slirp_restrict) + goto bad; + /* * handle TFTP */ |