diff --git a/src/requests.c b/src/requests.c index 0198185..5a4a235 100644 --- a/src/requests.c +++ b/src/requests.c @@ -682,7 +682,10 @@ 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; case EIS_Port_denm: @@ -694,7 +697,10 @@ 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; case EIS_Port_ivim: