diff --git a/include/dhcp.h b/include/dhcp.h index 72c0b32..c3ec791 100644 --- a/include/dhcp.h +++ b/include/dhcp.h @@ -67,7 +67,7 @@ namespace Tins { /** * \brief DHCP options enum. */ - enum Options { + enum OptionTypes { PAD, SUBNET_MASK, TIME_OFFSET, @@ -140,15 +140,19 @@ namespace Tins { END = 255 }; + TINS_DEPRECATED(typedef OptionTypes Options); + /** * The DHCP option type. */ - typedef PDUOption dhcp_option; + typedef PDUOption option; + + TINS_DEPRECATED(typedef option dhcp_option); /** * The type used to store the DHCP options. */ - typedef std::list options_type; + typedef std::list