use memcmp in ip_addr_is_broadcast() to compare the IPv6 address
remove unessesary blank lines