Skip to content

Conversation

BenediktConze
Copy link
Contributor

isMulticastAddress used to read the octet at the wrong end of the given IP address to check if it is a multicast address, on both little and big endian systems. By transformIP4ToU32 always producing a big endian number and isMulticastAddress always expecting one, it works now on both systems.

Also, only test this if readFromUcdrBuffer succeeds.

Benedikt Conze added 2 commits September 8, 2022 12:38
@akampmann akampmann merged commit 32b052d into embedded-software-laboratory:master Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants