summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp_var.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-06-21 19:22:55 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-06-21 19:22:55 +0000
commitf6802f211aa961083acb34be065507924fa6363f (patch)
tree0a51618e8388978fdb2cc37a63518313b3a51c35 /usr.bin/ftp/ftp_var.h
parent0d20db6bf333b04aaa72b23c998bc33aef690186 (diff)
add epsv4 command, which turns off epsv on ipv4 (off by dfeault)
automagicaslly disable epsv on ipv4, if epsv fails for single connection. merge from netbsd-current. req from fgs.
Diffstat (limited to 'usr.bin/ftp/ftp_var.h')
-rw-r--r--usr.bin/ftp/ftp_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp_var.h b/usr.bin/ftp/ftp_var.h
index 635abee5728..5ba60d43145 100644
--- a/usr.bin/ftp/ftp_var.h
+++ b/usr.bin/ftp/ftp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftp_var.h,v 1.18 1999/12/08 12:57:06 itojun Exp $ */
+/* $OpenBSD: ftp_var.h,v 1.19 2000/06/21 19:22:54 itojun Exp $ */
/* $NetBSD: ftp_var.h,v 1.18 1997/08/18 10:20:25 lukem Exp $ */
/*
@@ -152,6 +152,8 @@ int anonftp; /* automatic anonymous login */
int dirchange; /* remote directory changed by cd command */
unsigned int retry_connect; /* retry connect if failed */
int ttywidth; /* width of tty */
+int epsv4; /* use EPSV/EPRT on IPv4 connections */
+int epsv4bad; /* EPSV doesn't work on the current server */
#ifndef SMALL
int editing; /* command line editing enabled */