requests.c add default clause on protocolversion check
This commit is contained in:
parent
dfd1c482a1
commit
d0532c518b
|
|
@ -682,6 +682,9 @@ static int networking_packet_indication_btp(EIS_NetworkingPacketIndication_t* np
|
|||
its_msg = calloc(1, sizeof(EI2_CAM_t));
|
||||
its_msg_type = EI2_MessageId_cam;
|
||||
break;
|
||||
default:
|
||||
log_debug("[cam] unsupported protocolVersion: %d", pver);
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
@ -694,6 +697,9 @@ static int networking_packet_indication_btp(EIS_NetworkingPacketIndication_t* np
|
|||
its_msg = calloc(1, sizeof(EI2_DENM_t));
|
||||
its_msg_type = EI2_MessageId_denm;
|
||||
break;
|
||||
default:
|
||||
log_debug("[denm] unsupported protocolVersion: %d", pver);
|
||||
return 1;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue