Revert "check for invalid input on gateway"

This commit is contained in:
Henrik Ekblad
2015-02-19 16:59:38 +01:00
parent 9fecc53dfb
commit fe4b07074d
-3
View File
@@ -180,9 +180,6 @@ void MyGateway::parseAndSend(char *commandBuffer) {
} }
i++; i++;
} }
// Check for invalid input
if (i != 6)
return;
if (destination==GATEWAY_ADDRESS && command==C_INTERNAL) { if (destination==GATEWAY_ADDRESS && command==C_INTERNAL) {
// Handle messages directed to gateway // Handle messages directed to gateway