OSSP CVS Repository

ossp - Difference in ossp-pkg/lmtp2nntp/lmtp2nntp.c versions 1.86 and 1.87
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/lmtp2nntp/lmtp2nntp.c 1.86 -> 1.87

--- lmtp2nntp.c  2001/10/12 10:25:35     1.86
+++ lmtp2nntp.c  2001/10/12 12:03:19     1.87
@@ -879,13 +879,12 @@
         }
         ctx->option_aclc++;
     }
-#if 0 //FIXME IPv6 addr not working
     if (!bOk) {
         if (ctx->option_aclc >= MAXACLS) {
             fprintf(stderr, "%s:Error: Too many ACL (%d) using option -a (no space for additional fake IPv6 ACL)\n", ctx->progname, ctx->option_aclc);
             CU(ERR_EXECUTION);
         }
-        ctx->option_acl[ctx->option_aclc].acl = "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00";
+        ctx->option_acl[ctx->option_aclc].acl = "0000:0000:0000:0000:0000:0000:0000:0000";
         ctx->option_acl[ctx->option_aclc].not = FALSE;
         ctx->option_acl[ctx->option_aclc].prefixlen = 0;
         if ((rc = sa_addr_create(&ctx->option_acl[ctx->option_aclc].saa)) != SA_OK) {
@@ -900,7 +899,6 @@
         }
         ctx->option_aclc++;
     }
-#endif
 
     if (getuid() != ctx->option_uid) {
         if (setuid(ctx->option_uid) == -1) {

CVSTrac 2.0.1