Changeset 403:26aafbbc1640 in freeDiameter for freeDiameter/p_ce.c
- Timestamp:
- Jul 8, 2010, 2:24:19 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/p_ce.c
r378 r403 309 309 310 310 /* We check that the value matches what we know, otherwise disconnect the peer */ 311 if (strncasecmp(hdr->avp_value->os.data, peer->p_hdr.info.pi_diamid, hdr->avp_value->os.len)) { 311 /* here also, using strcasecmp on (supposed) UTF8 data might be bad idea... to be improved */ 312 if (strncasecmp((char *)hdr->avp_value->os.data, peer->p_hdr.info.pi_diamid, hdr->avp_value->os.len)) { 312 313 TRACE_DEBUG(INFO, "Received a message with Origin-Host set to '%.*s' while expecting '%s'\n", 313 314 hdr->avp_value->os.len, hdr->avp_value->os.data, peer->p_hdr.info.pi_diamid);
Note: See TracChangeset
for help on using the changeset viewer.