]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rule_socket.c
*: LIB_[ERR|WARN] -> EC_LIB
[mirror_frr.git] / zebra / rule_socket.c
index 620410de0472280ae19ad57427af55465637e9fc..42fb6346ec79e8d45f170a230e7b2e387c71d4d9 100644 (file)
 #include "zebra/kernel_netlink.h"
 #include "zebra/rule_netlink.h"
 #include "zebra/zebra_pbr.h"
+#include "zebra/zebra_errors.h"
 
 enum dp_req_result kernel_add_pbr_rule(struct zebra_pbr_rule *rule)
 {
-       flog_err(LIB_ERR_UNAVAILABLE, "%s not Implemented for this platform",
+       flog_err(EC_LIB_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)
 {
-       flog_err(LIB_ERR_UNAVAILABLE, "%s not Implemented for this platform",
+       flog_err(EC_LIB_UNAVAILABLE, "%s not Implemented for this platform",
                  __PRETTY_FUNCTION__);
        return DP_REQUEST_FAILURE;
 }