GH-1216: Enable Mobile IPv6 support by default

This removes the ENABLE_MOBILE_IPV6 #define variable. It also marks the
--enable-mobile-ipv6 configure argument as deprecated.
This commit is contained in:
Tim Wojtulewicz 2021-06-24 14:36:08 -07:00
parent 2e5d1d924f
commit b14cd1ef16
14 changed files with 12 additions and 72 deletions

View file

@ -100,7 +100,6 @@ int icmp_checksum(const struct icmp* icmpp, int len)
return detail::in_cksum(reinterpret_cast<const uint8_t*>(icmpp), len);
}
#ifdef ENABLE_MOBILE_IPV6
int mobility_header_checksum(const IP_Hdr* ip)
{
const ip6_mobility* mh = ip->MobilityHeader();
@ -124,7 +123,6 @@ int mobility_header_checksum(const IP_Hdr* ip)
return sum;
}
#endif
int icmp6_checksum(const struct icmp* icmpp, const IP_Hdr* ip, int len)
{