Commit a2d62e9b authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Fix for bug on Origin-State-Id reported in...

Fix for bug on Origin-State-Id reported in
parent 45d38032
......@@ -55,6 +55,11 @@ static int check_state_id(struct msg * msg, struct fd_peer * peer)
ASSERT(0); /* To check if this really happens, and understand why... */
if (! peer-> {
/* It was not already received in CER/CEA, save it now */
peer-> = hdr->avp_value->u32;
if (peer-> != hdr->avp_value->u32) {
TRACE_DEBUG(INFO, "Received a new Origin-State-Id from peer '%s'! (%x -> %x); resetting the connection.\n",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment