diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-14 15:13:18 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 481bc15ffcebcc7d0395a3ffa8ce70249e221d5b (patch) | |
tree | 9c11638144a147251871840b9fb94429433cfe32 /lib/lib_errors.h | |
parent | lib: When logging commands do not use zlog_err (diff) | |
download | frr-481bc15ffcebcc7d0395a3ffa8ce70249e221d5b.tar.xz frr-481bc15ffcebcc7d0395a3ffa8ce70249e221d5b.zip |
lib: Add LIB_ERR_SYSTEM_CALL and convert VRF_SOCKET to SOCKET
Add a new error code LIB_ERR_SYSTEM_CALL to the ferr subsystem.
Additionally convert LIB_ERR_VRF_SOCKET to a more generic
LIB_ERR_SOCKET.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.h')
-rw-r--r-- | lib/lib_errors.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lib_errors.h b/lib/lib_errors.h index 409b2f749..24521a600 100644 --- a/lib/lib_errors.h +++ b/lib/lib_errors.h @@ -26,10 +26,11 @@ enum lib_ferr_refs { LIB_ERR_PRIVILEGES = LIB_FERR_START, LIB_ERR_VRF_START, - LIB_ERR_VRF_SOCKET, + LIB_ERR_SOCKET, LIB_ERR_ZAPI_MISSMATCH, LIB_ERR_ZAPI_ENCODE, LIB_ERR_ZAPI_SOCKET, + LIB_ERR_SYSTEM_CALL, }; extern void lib_error_init(void); |