diff options
author | 2005-08-17 07:55:24 +0000 | |
---|---|---|
committer | 2005-08-17 07:55:24 +0000 | |
commit | 270d453b95161fad19241c27bb3b7f555375c05b (patch) | |
tree | e782476702092cbd2345c0658ee3f8589a0aab6b /libexec/ftp-proxy | |
parent | update with a couple of new elements; (diff) | |
download | wireguard-openbsd-270d453b95161fad19241c27bb3b7f555375c05b.tar.xz wireguard-openbsd-270d453b95161fad19241c27bb3b7f555375c05b.zip |
let IAP/IP/IAC thru. This lets the server receive an ABORT command with
the attached urgent data. And so ftp ^C works.
okay beck@, millert@
Diffstat (limited to 'libexec/ftp-proxy')
-rw-r--r-- | libexec/ftp-proxy/getline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftp-proxy/getline.c b/libexec/ftp-proxy/getline.c index 97ffd48c6e3..7779fbcf4a6 100644 --- a/libexec/ftp-proxy/getline.c +++ b/libexec/ftp-proxy/getline.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getline.c,v 1.16 2004/09/16 04:50:51 deraadt Exp $ */ +/* $OpenBSD: getline.c,v 1.17 2005/08/17 07:55:24 espie Exp $ */ /* * Copyright (c) 1985, 1988 Regents of the University of California. @@ -186,6 +186,7 @@ telnet_getline(struct csiob *iobp, struct csiob *telnet_passthrough) case WONT: case DO: case DONT: + case IP: tbuf[0] = IAC; tbuf[1] = ch; tbuf[2] = iobp->io_buffer[iobp->next_byte++]; |