diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 18:59:07 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 18:59:07 +0000 | 
| commit | 2b84a521e7140545f11c656dd75dab7a3b296b85 (patch) | |
| tree | ca82fdd0d646b7f211978058f8dc90c7aa6b8bbf /nhrpd/vici.c | |
| parent | cf444bcf40ca0c93402bdd79edafc7854512d92e (diff) | |
nhrpd: NHRP_[ERR|WARN] -> EC_NHRP
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'nhrpd/vici.c')
| -rw-r--r-- | nhrpd/vici.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/nhrpd/vici.c b/nhrpd/vici.c index c1a99685f3..0a1573b59d 100644 --- a/nhrpd/vici.c +++ b/nhrpd/vici.c @@ -218,7 +218,7 @@ static void parse_sa_message(struct vici_message_ctx *ctx,  					if (str2sockunion(buf,  							  &sactx->local.host)  					    < 0) -						flog_err(NHRP_ERR_SWAN, +						flog_err(EC_NHRP_SWAN,  							  "VICI: bad strongSwan local-host: %s",  							  buf);  			} else if (blob_equal(key, "local-id") @@ -236,7 +236,7 @@ static void parse_sa_message(struct vici_message_ctx *ctx,  					if (str2sockunion(buf,  							  &sactx->remote.host)  					    < 0) -						flog_err(NHRP_ERR_SWAN, +						flog_err(EC_NHRP_SWAN,  							  "VICI: bad strongSwan remote-host: %s",  							  buf);  			} else if (blob_equal(key, "remote-id") @@ -281,7 +281,7 @@ static void parse_cmd_response(struct vici_message_ctx *ctx,  	case VICI_KEY_VALUE:  		if (blob_equal(key, "errmsg")  		    && blob2buf(val, buf, sizeof(buf))) -			flog_err(NHRP_ERR_SWAN, "VICI: strongSwan: %s", buf); +			flog_err(EC_NHRP_SWAN, "VICI: strongSwan: %s", buf);  		break;  	default:  		break; @@ -340,7 +340,7 @@ static void vici_recv_message(struct vici_conn *vici, struct zbuf *msg)  		break;  	case VICI_EVENT_UNKNOWN:  	case VICI_CMD_UNKNOWN: -		flog_err(NHRP_ERR_SWAN, +		flog_err(EC_NHRP_SWAN,  			"VICI: StrongSwan does not support mandatory events (unpatched?)");  		break;  	case VICI_EVENT_CONFIRM:  | 
