Discriminate YANG debugging

This commit is contained in:
Philip Prindeville 2024-01-04 11:25:14 -07:00 committed by Olof Hagsand
parent 20b233e96f
commit cb134875f9
8 changed files with 20 additions and 20 deletions

View file

@ -83,7 +83,7 @@ yang_subparse(char *str,
int retval = -1;
clixon_yang_sub_parse_yacc ife = {0,};
clixon_debug(CLIXON_DBG_DETAIL, "%s %s", __FUNCTION__, str);
clixon_debug(CLIXON_DBG_YANG | CLIXON_DBG_DETAIL, "%s %s", __FUNCTION__, str);
ife.if_parse_string = str;
ife.if_linenum = linenum;
if (enabled)
@ -125,7 +125,7 @@ yang_schema_nodeid_subparse(char *str,
int retval = -1;
clixon_yang_schemanode_yacc ife = {0,};
clixon_debug(CLIXON_DBG_DETAIL, "%s %s", __FUNCTION__, str);
clixon_debug(CLIXON_DBG_YANG | CLIXON_DBG_DETAIL, "%s %s", __FUNCTION__, str);
ife.if_parse_string = str;
ife.if_linenum = linenum;
ife.if_mainfile = mainfile;