summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/ftp_var.h
diff options
context:
space:
mode:
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