Browse Source

Set default log port to 514

Georgi Chorbadzhiyski 7 years ago
parent
commit
1ec3b90267
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      tomcast.c

+ 1
- 0
tomcast.c View File

@@ -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) {

Loading…
Cancel
Save