Blame SOURCES/bz1334170-2-fix_use_of_undefined_#define.patch

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