summaryrefslogtreecommitdiff
path: root/lib/logicalrouter.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-04-12 21:38:57 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-07-02 11:32:06 -0300
commitdfe2273849bcf693ea1c56be4e89456a21a9a526 (patch)
tree75b4f47b86fdbf9f27cc444dc7116e4033d86e71 /lib/logicalrouter.h
parent716ffcc8fe63dcbe054ed1436ac3b47705e96d13 (diff)
lib: use flag from new libyang version to simplify the code
When using the LYD_PATH_OPT_NOPARENTRET flag, lyd_new_path() returns the path-referenced node instead of the first created node. This flag wasn't available in libyang 0.16-r1 so we couldn't use it before. Use it now to simplify the code where possible. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/logicalrouter.h')
0 files changed, 0 insertions, 0 deletions