Closed jp-t closed 7 years ago
Replace the hard-coded byte-inverted hex code for 169.254.0.1, which is 0x0100fea9, with htonl(0xa9fe0001) to support big-endian architectures.
This is needed since add_rp_grp_entry() ultimately passes the address to inet_valid_host() and ntohl().
Signed-off-by: Jean-Pierre Tosoni jp.tosoni@acksys.fr
This is my first time creating a pull request - please forgive my mistakes!
Looks great, thanks! :)
Replace the hard-coded byte-inverted hex code for 169.254.0.1, which is 0x0100fea9, with htonl(0xa9fe0001) to support big-endian architectures.
This is needed since add_rp_grp_entry() ultimately passes the address to inet_valid_host() and ntohl().
Signed-off-by: Jean-Pierre Tosoni jp.tosoni@acksys.fr