|
@@ -904,6 +904,7 @@ void set_ident(char *new_ident, struct config *cfg) {
|
904
|
904
|
void parse_options(int argc, char **argv, struct config *cfg) {
|
905
|
905
|
int j, ttl;
|
906
|
906
|
cfg->server_socket = -1;
|
|
907
|
+ cfg->logport = 514;
|
907
|
908
|
pthread_mutex_init(&cfg->channels_lock, NULL);
|
908
|
909
|
while ((j = getopt(argc, argv, "i:b:p:c:d:t:o:l:L:RHh")) != -1) {
|
909
|
910
|
switch (j) {
|