Added logging for failed hit suite negotiation

This commit is contained in:
Niklas Granberg 2019-11-22 15:48:02 +01:00
parent 4e96ca0913
commit 5007a05ce1
1 changed files with 1 additions and 0 deletions

View File

@ -908,6 +908,7 @@ int hip_parse_R1(const __u8 *data, hip_assoc *hip_a)
tlv_hit_suite *hit_suite_list = (tlv_hit_suite*) &data[location];
if(handle_hit_suite_list(hip_a, &hit_suite_list->hit_suite_id, length) < 0){
log_(ERR, "Peer HIT Suites unsupported, aborting base exchange...\n");
hip_send_notify(hip_a,
NOTIFY_UNSUPPORTED_HIT_SUITE,
NULL, 0);