diff options
Diffstat (limited to 'zebra/rule_socket.c')
| -rw-r--r-- | zebra/rule_socket.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/zebra/rule_socket.c b/zebra/rule_socket.c index ecd642d807..620410de04 100644 --- a/zebra/rule_socket.c +++ b/zebra/rule_socket.c @@ -29,6 +29,7 @@ #include "if.h" #include "prefix.h" #include "vrf.h" +#include "lib_errors.h" #include "zebra/zserv.h" #include "zebra/zebra_ns.h" @@ -43,13 +44,15 @@ enum dp_req_result kernel_add_pbr_rule(struct zebra_pbr_rule *rule) { - zlog_err("%s not Implemented for this platform", __PRETTY_FUNCTION__); + flog_err(LIB_ERR_UNAVAILABLE, "%s not Implemented for this platform", + __PRETTY_FUNCTION__); return DP_REQUEST_FAILURE; } enum dp_req_result kernel_del_pbr_rule(struct zebra_pbr_rule *rule) { - zlog_err("%s not Implemented for this platform", __PRETTY_FUNCTION__); + flog_err(LIB_ERR_UNAVAILABLE, "%s not Implemented for this platform", + __PRETTY_FUNCTION__); return DP_REQUEST_FAILURE; } |
