commit | e7084ce8709c3ee13f7dd338919ba4e562ce35f4 | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Wed Jul 10 16:44:15 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Wed Jul 10 16:44:15 2019 +0200 |
tree | 4524d2d1e790d24124a3875479ae8d30da0a6c05 | |
parent | a5b1d3829063b1bf78fe7af6227d04cc59529f8a [diff] [blame] |
yin parser CHANGE add support for default element
diff --git a/src/parser_yin.c b/src/parser_yin.c index c01528e..5e79e76 100644 --- a/src/parser_yin.c +++ b/src/parser_yin.c
@@ -702,6 +702,8 @@ case YANG_CONTAINER: break; case YANG_DEFAULT: + ret = yin_parse_simple_element(ctx, subelem_attrs, data, kw, (const char **)subelem_info_rec->dest, + YIN_ARG_VALUE, Y_STR_ARG, exts); break; case YANG_DEVIATE: break;