aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ncftp/defaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ncftp/defaults.h')
-rw-r--r--usr.bin/ncftp/defaults.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.bin/ncftp/defaults.h b/usr.bin/ncftp/defaults.h
index 24521959c3cc..f3fbb0814cda 100644
--- a/usr.bin/ncftp/defaults.h
+++ b/usr.bin/ncftp/defaults.h
@@ -44,6 +44,18 @@
#define dMPROMPT 0
#endif
+#ifndef PASSIVEMODE
+#define PASSIVEMODE 1
+#endif
+
+/* If passive FTP can be used, this specifies whether it is turned on
+ * by default. If not, we have passive mode available, but are using
+ * Port ftp by default.
+ */
+#ifndef dPASSIVE
+#define dPASSIVE 1 /* Works for most folks... */
+#endif
+
#ifndef dVERBOSE /* V_QUIET, V_ERRS, V_TERSE, V_VERBOSE */
#define dVERBOSE V_TERSE
#endif