X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FDefaultBundle%2FICMPv6Packet.hh;h=c5c26940e195fcf1b56e68946fb33e0268470095;hb=6c0332484574ed1cb571bbc0dc9f0a37d6653282;hp=0c8586b03a312436033b7916fcff144548bb66ab;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Packets/DefaultBundle/ICMPv6Packet.hh b/senf/Packets/DefaultBundle/ICMPv6Packet.hh index 0c8586b..c5c2694 100644 --- a/senf/Packets/DefaultBundle/ICMPv6Packet.hh +++ b/senf/Packets/DefaultBundle/ICMPv6Packet.hh @@ -47,7 +47,7 @@ namespace senf struct ICMPTypes { // ICMP type registry - typedef boost::uint16_t key_t; + typedef boost::uint8_t key_t; }; /** \brief ICMP Packet for IPv6 @@ -84,11 +84,14 @@ namespace senf } static void finalize(packet p) { - p->checksum() << p->calcChecksum(); p->type() << key(p.next(senf::nothrow)); + p->checksum() << p->calcChecksum(); } }; + /** \brief ICMPv6 packet typedef + \ingroup protocolbundle_default + */ typedef ConcretePacket ICMPv6Packet; }