aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-16 06:28:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-16 06:28:50 +0000
commitbd57c85d9a2cc1e95e0ae16168b764204755e143 (patch)
tree61136f88ae3f61465fef9f5a224a35364cadfae7 /etrn.c
parent9e96c6bc3494dfe34655a02df8f735bce71d86a6 (diff)
downloadfetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.tar.gz
fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.tar.bz2
fetchmail-bd57c85d9a2cc1e95e0ae16168b764204755e143.zip
Alll of Craig Metz's changes for IPv6 and IPSEC except the POP3 stuff.
svn path=/trunk/; revision=1630
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/etrn.c b/etrn.c
index 3c7d0f5f..26d30195 100644
--- a/etrn.c
+++ b/etrn.c
@@ -112,7 +112,11 @@ static int etrn_logout(int sock, struct query *ctl)
const static struct method etrn =
{
"ETRN", /* ESMTP ETRN extension */
+#if INET6
+ "smtp", /* standard SMTP port */
+#else /* INET6 */
25, /* standard SMTP port */
+#endif /* INET6 */
FALSE, /* this is not a tagged protocol */
FALSE, /* this does not use a message delimiter */
etrn_ok, /* parse command response */