Packets/80221Bundle/MIHPacket: fixed EtherType registration
[senf.git] / senf / Packets / 80221Bundle / MIHPacket.cc
index 388d450..cf7fb41 100644 (file)
 //#include "MIHPacket.ih"
 
 // Custom includes
-#include "../../Packets/Packets.hh"
-#include "../../Utils/hexdump.hh"
+#include <senf/Packets/Packets.hh>
+#include <senf/Utils/hexdump.hh>
 #include <boost/io/ios_state.hpp>
+#include <senf/Packets/DefaultBundle/EthernetPacket.hh>
 
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
 
-
+namespace {
+    SENF_PACKET_REGISTRY_REGISTER( senf::EtherTypes, 0x8917, senf::MIHPacket);
+}
 
 ///////////////////////////////////////////////////////////////////////////
 // MIHFId_TLVParser