From: cni Date: Mon, 29 Jun 2009 22:29:50 +0000 (+0000) Subject: Packets/DefaultBundle/MPLSPacket: added MPLS Ethertype to Ethernet registry X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=7cd188197e5815788229d0ca0503cb34bb75982c;p=senf.git Packets/DefaultBundle/MPLSPacket: added MPLS Ethertype to Ethernet registry git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1248 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/DefaultBundle/MPLSPacket.cc b/Packets/DefaultBundle/MPLSPacket.cc index 86b3d7c..d191e5b 100644 --- a/Packets/DefaultBundle/MPLSPacket.cc +++ b/Packets/DefaultBundle/MPLSPacket.cc @@ -30,8 +30,17 @@ #include #include +#include "EthernetPacket.hh" + #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// + +namespace { + senf::PacketRegistry::RegistrationProxy + registerMPLSPacket (0x8848); +} + + // senf::MPLSPacketType prefix_ void senf::MPLSPacketType::dump(packet p, std::ostream & os)