-Yang Deviation/deviate : added yacc/lex syntax

This commit is contained in:
Olof hagsand 2021-04-24 12:31:40 +02:00
parent ad0af26649
commit d48b8a8fad
5 changed files with 111 additions and 45 deletions

View file

@ -132,6 +132,7 @@ restconf_reply_send(void *req0,
evhtp_connection_t *conn;
struct evbuffer *eb = NULL;
clicon_debug(1, "%s code:%d", __FUNCTION__, code);
req->status = code;
if ((reason_phrase = restconf_code2reason(code)) == NULL)
reason_phrase="";