INN commit: branches/2.6 (innd/nc.c nnrpd/nnrpd.c)
INN Commit
rra at isc.org
Wed Jun 1 20:07:30 UTC 2016
Date: Wednesday, June 1, 2016 @ 13:07:30
Author: iulius
Revision: 10037
Advertise XBATCH and XPAT in the capabilities list
Modified:
branches/2.6/innd/nc.c
branches/2.6/nnrpd/nnrpd.c
---------------+
innd/nc.c | 5 +++++
nnrpd/nnrpd.c | 4 ++++
2 files changed, 9 insertions(+)
Modified: innd/nc.c
===================================================================
--- innd/nc.c 2016-05-28 18:29:30 UTC (rev 10036)
+++ innd/nc.c 2016-06-01 20:07:30 UTC (rev 10037)
@@ -622,6 +622,11 @@
WCHANappend(cp, NCterm, strlen(NCterm));
}
+ if (cp->IsAuthenticated) {
+ WCHANappend(cp, "XBATCH", 6);
+ WCHANappend(cp, NCterm, strlen(NCterm));
+ }
+
NCwritereply(cp, NCdot);
}
Modified: nnrpd/nnrpd.c
===================================================================
--- nnrpd/nnrpd.c 2016-05-28 18:29:30 UTC (rev 10036)
+++ nnrpd/nnrpd.c 2016-06-01 20:07:30 UTC (rev 10037)
@@ -492,6 +492,10 @@
}
#endif /* HAVE_OPENSSL */
+ if (PERMcanread) {
+ Printf("XPAT\r\n");
+ }
+
Printf(".\r\n");
}
More information about the inn-committers
mailing list