Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: use LYD_VALIDATE_MULTI_ERROR only if available
LYD_VALIDATE_MULTI_ERROR was added in libyang 2.1.36. The currently enforced minimum of libyang is 2.0.0. Stick an #ifdef around it. Fixes: 51a2a4b ("lib: print all errors when validating a config") Cc: Igor Ryzhov <[email protected]> Signed-off-by: David Lamparter <[email protected]>
- Loading branch information