From f2e20c80719d34275644e28749f1792a704a4669 Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Wed, 27 Sep 2017 12:37:31 +0200
Subject: [PATCH] bugfix: fix sctp config params

---
 openair2/ENB_APP/enb_paramdef.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openair2/ENB_APP/enb_paramdef.h b/openair2/ENB_APP/enb_paramdef.h
index 309f8f4f00..86424cd560 100755
--- a/openair2/ENB_APP/enb_paramdef.h
+++ b/openair2/ENB_APP/enb_paramdef.h
@@ -538,8 +538,8 @@ static int DEFENBS[] = {0};
 /*   optname                                          helpstr   paramflags    XXXptr                             defXXXval         type           numelt     */
 /*-----------------------------------------------------------------------------------------------------------------------------------------------------------*/
 #define SCTPPARAMS_DESC {  \
-{ENB_CONFIG_STRING_SCTP_INSTREAMS,                       NULL,   0,   strptr:NULL,   defstrval:ENB_CONFIG_STRING_SCTP_INSTREAMS,    TYPE_STRING,   0},       \
-{ENB_CONFIG_STRING_SCTP_OUTSTREAMS,                      NULL,   0,   strptr:NULL,   defstrval:ENB_CONFIG_STRING_SCTP_OUTSTREAMS,   TYPE_STRING,   0}        \
+{ENB_CONFIG_STRING_SCTP_INSTREAMS,                       NULL,   0,   uptr:NULL,   defintval:-1,    TYPE_UINT,   0},       \
+{ENB_CONFIG_STRING_SCTP_OUTSTREAMS,                      NULL,   0,   uptr:NULL,   defintval:-1,    TYPE_UINT,   0}        \
 }
 
 #define ENB_SCTP_INSTREAMS_IDX          0
-- 
GitLab