Date: 03 Feb 1999 16:20:24 +0100 From: Linus Nordberg <linus.nordberg@canit.se> To: freebsd-bugs@FreeBSD.ORG Subject: fetch Message-ID: <xrl7ltzqzt3.fsf@uno.canit.se>
next in thread | raw e-mail | index | archive | help
hi, the man page for fetch(1) mentions the environment variable `FTP_PASSIVE_MODE' to "force the use of passive mode FTP" but it doesn't seem to honour that and i can see no signs of it in the source code. supplied is a very small patch to make it work. --linus --- main.c~ Mon Jul 6 05:31:14 1998 +++ main.c Wed Feb 3 01:03:38 1999 @@ -157,6 +157,9 @@ } } + if (getenv ("FTP_PASSIVE_MODE")) + fs.fs_passive_mode = 1; + clean_fetch_state = fs; /* preserve option settings */ if (argv[optind] && (hostname || change_to_dir || file_to_get)) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xrl7ltzqzt3.fsf>