X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/7a01801db38786c0f1cab79b3867b8b529d5cb1c..78d6e1ce97611abe9f0d083033197773f93c33f7:/practicas/pipi/src/ipheader.cpp?ds=sidebyside diff --git a/practicas/pipi/src/ipheader.cpp b/practicas/pipi/src/ipheader.cpp index 0fbfca2..facc22b 100644 --- a/practicas/pipi/src/ipheader.cpp +++ b/practicas/pipi/src/ipheader.cpp @@ -44,7 +44,7 @@ void IPHeader::do_checksum() std::ostream& operator<<(std::ostream& os, const IPHeader& iph) { return os - << "version=" << iph.version + << "version=" << unsigned(iph.version) << " total_len=" << iph.total_len << " id=" << iph.id << " DF=" << bool(iph.df)