diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 19:21:05 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 19:23:29 +0000 | 
| commit | e914ccbe9cfb45bbb0ce61bb496e27df6b6136ba (patch) | |
| tree | 0cb5b71e277a706f708cdaff0c8aaa2deefa319f /zebra/zebra_ptm.c | |
| parent | f74ae2bb41bb235d256bf67064fa374362e61857 (diff) | |
zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ptm.c')
| -rw-r--r-- | zebra/zebra_ptm.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index 7f9b70b0a1..f1fa8cc67e 100644 --- a/zebra/zebra_ptm.c +++ b/zebra/zebra_ptm.c @@ -505,7 +505,7 @@ static int zebra_ptm_handle_bfd_msg(void *arg, void *in_ctxt,  			dest_str, src_str);  	if (str2prefix(dest_str, &dest_prefix) == 0) { -		flog_err(ZEBRA_ERR_PREFIX_PARSE_ERROR, +		flog_err(EC_ZEBRA_PREFIX_PARSE_ERROR,  			  "%s: Peer addr %s not found", __func__, dest_str);  		return -1;  	} @@ -513,7 +513,7 @@ static int zebra_ptm_handle_bfd_msg(void *arg, void *in_ctxt,  	memset(&src_prefix, 0, sizeof(struct prefix));  	if (strcmp(ZEBRA_PTM_INVALID_SRC_IP, src_str)) {  		if (str2prefix(src_str, &src_prefix) == 0) { -			flog_err(ZEBRA_ERR_PREFIX_PARSE_ERROR, +			flog_err(EC_ZEBRA_PREFIX_PARSE_ERROR,  				  "%s: Local addr %s not found", __func__,  				  src_str);  			return -1; @@ -609,7 +609,7 @@ static int zebra_ptm_handle_msg_cb(void *arg, void *in_ctxt)  		ifp = if_lookup_by_name_all_vrf(port_str);  		if (!ifp) { -			flog_warn(ZEBRA_ERR_UNKNOWN_INTERFACE, +			flog_warn(EC_ZEBRA_UNKNOWN_INTERFACE,  				  "%s: %s not found in interface list",  				  __func__, port_str);  			return -1;  | 
