restconf dbg

This commit is contained in:
Olof Hagsand 2017-10-08 19:44:00 +02:00
parent 089b2da71c
commit 2d9e4666eb
4 changed files with 9 additions and 11 deletions

View file

@ -205,9 +205,8 @@ request_process(clicon_handle h,
if (strcmp(method, "data") == 0) /* restconf, skip /api/data */
retval = api_data(h, r, path, pcvec, 2, qvec, data);
else
if (strcmp(method, "operations") == 0) /* rpc */
retval = api_operations(h, r, path, pcvec, 2, qvec, data);
else if (strcmp(method, "operations") == 0) /* rpc */
retval = api_operations(h, r, path, pcvec, 2, qvec, data);
else if (strcmp(method, "test") == 0)
retval = test(r, 0);
else