summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/ftp_var.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>1999-06-25 14:11:16 +0000
committerru <ru@FreeBSD.org>1999-06-25 14:11:16 +0000
commitd321f9c4e499838b14e5ff3e1057ab29cabc608f (patch)
tree7be728efd338a63d9edbeaad8559863cdc69d705 /usr.bin/ftp/ftp_var.h
parent5ed26c8f51820fc71578a9f1abc4fa06760f89d3 (diff)
downloadFreeBSD-src-d321f9c4e499838b14e5ff3e1057ab29cabc608f.zip
FreeBSD-src-d321f9c4e499838b14e5ff3e1057ab29cabc608f.tar.gz
- add "-s src_addr" option to allow setting of the source IP address;
- fix two minor bugs; - slightly cleanup manpage.
Diffstat (limited to 'usr.bin/ftp/ftp_var.h')
-rw-r--r--usr.bin/ftp/ftp_var.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp_var.h b/usr.bin/ftp/ftp_var.h
index 0dd0716..2a4f2c8 100644
--- a/usr.bin/ftp/ftp_var.h
+++ b/usr.bin/ftp/ftp_var.h
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: ftp_var.h,v 1.6 1997/12/13 20:38:18 pst Exp $ */
/* $NetBSD: ftp_var.h,v 1.20.2.1 1997/11/18 01:01:37 mellon Exp $ */
/*
@@ -43,6 +43,7 @@
#include <sys/param.h>
#include <setjmp.h>
#include <stringlist.h>
+#include <netinet/in.h>
#ifndef SMALL
#include <histedit.h>
@@ -141,6 +142,9 @@ u_int16_t ftpport; /* port number to use for ftp connections */
u_int16_t httpport; /* port number to use for http connections */
u_int16_t gateport; /* port number to use for gateftp connections */
+int dobind; /* bind to specific address */
+struct sockaddr_in bindto; /* address to bind to */
+
jmp_buf toplevel; /* non-local goto stuff for cmd scanner */
char line[FTPBUFLEN]; /* input line buffer */
OpenPOWER on IntegriCloud