diff --git a/modules/cdp/peerstatemachine.c b/modules/cdp/peerstatemachine.c index b5e6dd7ae7c..c69cc9972a7 100644 --- a/modules/cdp/peerstatemachine.c +++ b/modules/cdp/peerstatemachine.c @@ -519,7 +519,7 @@ int sm_process(peer *p,peer_event_t event,AAAMessage *msg,int peer_locked,int so * @param p - peer to send to * @returns the new state for the peer */ -peer_state_t I_Snd_Conn_Req(peer *p) +peer_event_t I_Snd_Conn_Req(peer *p) { LM_INFO("I_Snd_Conn_Req(): Peer %.*s \n", p->fqdn.len,p->fqdn.s); diff --git a/modules/cdp/peerstatemachine.h b/modules/cdp/peerstatemachine.h index 47d93f8433c..4b9ef8a3c36 100644 --- a/modules/cdp/peerstatemachine.h +++ b/modules/cdp/peerstatemachine.h @@ -50,7 +50,7 @@ int sm_process(peer *p,peer_event_t event,AAAMessage *msg,int peer_locked,int sock); -peer_state_t I_Snd_Conn_Req(peer *p); +peer_event_t I_Snd_Conn_Req(peer *p); void Cleanup(peer *p,int sock); void Error(peer *p, int sock); void I_Snd_CER(peer *p);