Blame SOURCES/bz1334170-2-fix_use_of_undefined_#define.patch
|
|
e51146 |
From 87b4eb3d8c9046b66beeae424d0f9d2b4c4d9eee Mon Sep 17 00:00:00 2001
|
|
|
e51146 |
From: Andrew Beekhof <andrew@beekhof.net>
|
|
|
e51146 |
Date: Mon, 9 May 2016 14:54:10 +1000
|
|
|
e51146 |
Subject: [PATCH] Fix use of undefined #define
|
|
|
e51146 |
|
|
|
e51146 |
---
|
|
|
e51146 |
server/tcp.c | 2 +-
|
|
|
e51146 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
e51146 |
|
|
|
e51146 |
diff --git a/server/tcp.c b/server/tcp.c
|
|
|
e51146 |
index 6c93f14..a6186c6 100644
|
|
|
e51146 |
--- a/server/tcp.c
|
|
|
e51146 |
+++ b/server/tcp.c
|
|
|
e51146 |
@@ -417,7 +417,7 @@ tcp_config(config_object_t *config, tcp_options *args)
|
|
|
e51146 |
return -1;
|
|
|
e51146 |
}
|
|
|
e51146 |
|
|
|
e51146 |
- args->port = DEFAULT_TCP_PORT;
|
|
|
e51146 |
+ args->port = DEFAULT_MCAST_PORT;
|
|
|
e51146 |
if (sc_get(config, "listeners/tcp/@port",
|
|
|
e51146 |
value, sizeof(value)-1) == 0) {
|
|
|
e51146 |
dbg_printf(1, "Got %s for port\n", value);
|
|
|
e51146 |
--
|
|
|
e51146 |
2.5.5
|
|
|
e51146 |
|