diff options
author | 1996-10-26 12:33:41 +0000 | |
---|---|---|
committer | 1996-10-26 12:33:41 +0000 | |
commit | 9cefb233f39d63463c35b7918348679e2d19bb37 (patch) | |
tree | 827feb79b1126adc215b1fba8cb40422ef47df87 | |
parent | sockaddr_ipx members order change (diff) | |
download | wireguard-openbsd-9cefb233f39d63463c35b7918348679e2d19bb37.tar.xz wireguard-openbsd-9cefb233f39d63463c35b7918348679e2d19bb37.zip |
we are so ftp bounce paranoid, we checked twice!
-rw-r--r-- | usr.sbin/lpr/lpd/lpd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c index 47300e98ab5..973346682a6 100644 --- a/usr.sbin/lpr/lpd/lpd.c +++ b/usr.sbin/lpr/lpd/lpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpd.c,v 1.9 1996/09/21 21:05:41 deraadt Exp $ */ +/* $OpenBSD: lpd.c,v 1.10 1996/10/26 12:33:41 deraadt Exp $ */ /* $NetBSD: lpd.c,v 1.7 1996/04/24 14:54:06 mrg Exp $ */ /* @@ -509,11 +509,6 @@ chkhost(f) extern char *inet_ntoa(); int good = 0; - f->sin_port = ntohs(f->sin_port); - if (f->sin_family != AF_INET || f->sin_port >= IPPORT_RESERVED || - f->sin_port == 20) - fatal("Malformed from address"); - /* Need real hostname for temporary filenames */ hp = gethostbyaddr((char *)&f->sin_addr, sizeof(struct in_addr), f->sin_family); |