Skip to content

Success while no internet connection #1

@kolka2012

Description

@kolka2012

ICMP class checking only checksum on recieving packet. If router cannot resolve destination it returning packet with type 0x03 not 0x00. Type of packet did not checking and arduino recieved success status for ping request.

English is not my first language so I wrote that in Russian. May be it would be more understandable.

Класс ICMP в методе receivePacketProcessing не проверяет какой тип пакета пришел в заголовке ответа, а проверяет только чексумму. В результате если пришел ответ, который говорит, что адресат не доступен или какая-то другая ошибка, то результат все равно будет успешным.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions