X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FDefaultBundle%2FIPv6Extensions.cc;h=543a3b33882119e3c87ad154a23cdc17b1fada38;hb=79615f135540eb93e24ac7720a9fecb08fba2842;hp=ca4b9d74a07e43012e51c9645ea47410b5ae8ef6;hpb=17b707d5ed5741bcbeba233eeb1efacecd990176;p=senf.git diff --git a/senf/Packets/DefaultBundle/IPv6Extensions.cc b/senf/Packets/DefaultBundle/IPv6Extensions.cc index ca4b9d7..543a3b3 100644 --- a/senf/Packets/DefaultBundle/IPv6Extensions.cc +++ b/senf/Packets/DefaultBundle/IPv6Extensions.cc @@ -25,7 +25,7 @@ #include "IPv6Extensions.hh" //#include "IPv6Extensions.ih" - +#include // Custom includes //#include "IPv6Extensions.mpp" @@ -75,9 +75,11 @@ prefix_ void senf::IPv6ExtensionType_HopByHop::dump(packet p, std::ostream & os) os << "OptionTypes:\n"; IPv6Extension_HopByHop::Parser::options_t::container options (p->options()); IPv6Extension_HopByHop::Parser::options_t::container::iterator optIter(options.begin()); - for(;optIter != options.end(); ++ optIter) + for(;optIter != options.end(); ++ optIter){ os << "Option Type:\t" << (unsigned) optIter->optionType() << "\nOptionLength:\t" << (unsigned) optIter->optionLength() <<"\n"; + senf::hexdump(boost::next(boost::begin(optIter->value())), boost::next( boost::end(optIter->value())), os ); + } } prefix_ void senf::IPv6ExtensionType_Destination::dump(packet p, std::ostream & os)