aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/include/otconfig.h1
-rw-r--r--lib/libostp/session.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/include/otconfig.h b/lib/include/otconfig.h
index 9487556..96cac38 100644
--- a/lib/include/otconfig.h
+++ b/lib/include/otconfig.h
@@ -36,6 +36,7 @@
#define ENABLE_MOTD 1 /* Enable message of the day */
#define ARBITRATION_MAX 5 /* Maximum number of arbitration attempts */
#define REQUIRE_USER_AUTH 1 /* 1: true, 0: false */
+#define OSTP_PORT 5352
/* Message of the day */
#if defined(ENABLE_MOTD)
diff --git a/lib/libostp/session.c b/lib/libostp/session.c
index 26b72bb..3843207 100644
--- a/lib/libostp/session.c
+++ b/lib/libostp/session.c
@@ -42,8 +42,6 @@
#include <string.h>
#include <unistd.h>
-#define OSTP_PORT 5352
-
#if DIAGNOSTIC
#define LOG(fmt, ...) printf(fmt, ##__VA_ARGS__)
#else