Check-in Number:
|
1168 | |
Date: |
2001-Oct-12 14:03:19 (local)
2001-Oct-12 12:03:19 (UTC) |
User: | rse |
Branch: | |
Comment: |
IPv6 now works |
Tickets: |
|
Inspections: |
|
Files: |
|
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) {
|
|