From af389692c0a687675c74fd432e3a2309337ad3c9 Mon Sep 17 00:00:00 2001 From: "Enrico Loparco (eloparco)" Date: Thu, 24 Jun 2021 17:04:19 +0200 Subject: [HICN-712] Fix listener table retrieval Signed-off-by: Enrico Loparco (eloparco) Change-Id: I8cd7c37a570011c2215255fab5e020291dfd0ef7 --- hicn-light/src/hicn/config/command.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hicn-light/src/hicn/config/command.h') diff --git a/hicn-light/src/hicn/config/command.h b/hicn-light/src/hicn/config/command.h index 4cc770e0d..ddeb94b03 100644 --- a/hicn-light/src/hicn/config/command.h +++ b/hicn-light/src/hicn/config/command.h @@ -13,7 +13,7 @@ /* Update sscanf accordingly in parse_cmd.c */ #define MAX_PARAMETERS 10 -#define MAX_SCANF_PARAM_LEN 10 +#define MAX_SCANF_PARAM_LEN 100 typedef int (*parser_hook_t)(void * arg); @@ -126,7 +126,7 @@ typedef struct { }, \ } /* We need to allocate room for the intermediate string */ -#define TYPE_FMT_ENUM "%ms" +#define TYPE_FMT_ENUM "%s" #define TYPE_POLICY_STATE(TAG) (parser_type_t) { \ .name = TYPENAME_POLICY_STATE, \ @@ -135,7 +135,7 @@ typedef struct { }, \ } /* We need to allocate room for the intermediate string */ -#define TYPE_FMT_POLICY_STATE "%ms" +#define TYPE_FMT_POLICY_STATE "%s" /** * \brief Register a protocol -- cgit 1.2.3-korg