X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80221Bundle%2FMIHTypes.hh;h=ea901bf82c81c136665f36807c72c9175e0eca35;hb=34700cdc907e04dbe026df9e86d0509990706a31;hp=bd8d174c2b30bffb33f769910b4b4cd7c8098718;hpb=6659457baa07c4f1a2e0d4eae20f2727520f8039;p=senf.git diff --git a/senf/Packets/80221Bundle/MIHTypes.hh b/senf/Packets/80221Bundle/MIHTypes.hh index bd8d174..ea901bf 100644 --- a/senf/Packets/80221Bundle/MIHTypes.hh +++ b/senf/Packets/80221Bundle/MIHTypes.hh @@ -47,10 +47,9 @@ namespace senf { { public: static MIHFId const Multicast; ///< The multicast (empty) MIHF Id - static MIHFId const None; ///< The multicast (empty) MIHF Id - enum Type { Empty, MACAddress, INet4Address, INet6Address, String, EUI64 }; + enum Type { MulticastType, MACAddress, INet4Address, INet6Address, String, EUI64 }; - MIHFId(); ///< Create empty instance. + MIHFId(); ///< Create multicast id. MIHFId(senf::MACAddress const & addr); ///< Construct id with given MACAddress MIHFId(senf::INet4Address const & addr); ///< Construct id with given INet4Address MIHFId(senf::INet6Address const & addr); ///< Construct id with given INet6Address @@ -63,7 +62,7 @@ namespace senf { private: struct GetTypeVisitor : public boost::static_visitor { - Type operator()(boost::blank const &) const { return Empty; } + Type operator()(boost::blank const &) const { return MulticastType; } Type operator()(senf::MACAddress const &) const { return MACAddress; } Type operator()(senf::INet4Address const &) const { return INet4Address; } Type operator()(senf::INet6Address const &) const { return INet6Address; }