From 312996e26c793460869c5569d73cb4159a13f996 Mon Sep 17 00:00:00 2001 From: gokuls Date: Fri, 18 Aug 2017 16:38:13 -0400 Subject: Modified hardcoded eventname id to user defined Issue-Id: VNFRQTS-77 Change-Id: I7141a1cd5206893007873efbeaef377e5e00c96b Signed-Off-by: Gokul Singaraju --- vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c') diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c index 447ac9a4..c7a227b3 100644 --- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c +++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_other.c @@ -39,7 +39,7 @@ * not used (i.e. posted) it must be released using ::evel_free_other. * @retval NULL Failed to create the event. *****************************************************************************/ -EVENT_OTHER * evel_new_other() +EVENT_OTHER * evel_new_other(const char *ev_name, const char *ev_id) { EVENT_OTHER * other = NULL; EVEL_ENTER(); @@ -64,7 +64,7 @@ EVENT_OTHER * evel_new_other() /* Initialize the header & the Other fields. Optional string values are */ /* uninitialized (NULL). */ /***************************************************************************/ - evel_init_header(&other->header,"OtherEvent"); + evel_init_header_nameid(&other->header,ev_name,ev_id); other->header.event_domain = EVEL_DOMAIN_OTHER; other->major_version = EVEL_OTHER_EVENT_MAJOR_VERSION; other->minor_version = EVEL_OTHER_EVENT_MINOR_VERSION; -- cgit 1.2.3-korg