From 7ea9cf4a2d9a8068d9c2503f7c277cf6e9539660 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 25 Feb 2025 19:44:10 -0500 Subject: otconfig: Create OSTP_PORT define Signed-off-by: Ian Moffett --- lib/include/otconfig.h | 1 + lib/libostp/session.c | 2 -- 2 files changed, 1 insertion(+), 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 #include -#define OSTP_PORT 5352 - #if DIAGNOSTIC #define LOG(fmt, ...) printf(fmt, ##__VA_ARGS__) #else -- cgit v1.2.3