+2005-04-20 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/ircd.c (parse_command_line): Update usage text.
+
+ * ircd/numnicks.c (base64toip): Use v4mapped address range instead
+ of v4compat address range, fixing IPv4-based /who.
+
2005-04-19 Michael Poole <mdpoole@troilus.org>
* configure.in: When --enable-profile, add -pg to LDFLAGS.
debugmode = optarg;
thisServer.bootopt |= BOOT_DEBUG;
break;
-
+
default:
- printf("Usage: ircd [-f config] [-h servername] [-x loglevel] [-ntvk]\n");
- printf("\n -n -t\t Don't detach\n -v\t display version\n -k\t exit after checking config\n\n");
- printf("Server not started.\n");
+ printf("Usage: ircd [-f config] [-h servername] [-x loglevel] [-ntv] [-k [-c clispec]]\n"
+ "\n -f config\t specify explicit configuration file"
+ "\n -x loglevel\t set debug logging verbosity"
+ "\n -n or -t\t don't detach"
+ "\n -v\t\t display version"
+ "\n -k\t\t exit after checking config"
+ "\n -c clispec\t search for client/kill blocks matching client"
+ "\n\t\t clispec is comma-separated list of user@host,"
+ "\n\t\t user@ip, $Rrealname, and port number"
+ "\n\nServer not started.\n");
exit(1);
}
}
memset(addr, 0, sizeof(*addr));
if (strlen(input) == 6) {
unsigned int in = base64toint(input);
+ addr->in6_16[5] = htons(65535);
addr->in6_16[6] = htons(in >> 16);
addr->in6_16[7] = htons(in & 65535);
} else {