bug fix: main-packet-header.cc does not print the packet

This commit is contained in:
Ashim Ghosh
2012-05-15 16:02:26 -07:00
parent e2252b9a75
commit a3f7b03b16
@@ -100,6 +100,9 @@ MyHeader::GetData (void) const
int main (int argc, char *argv[])
{
// Enable the packet printing through Packet::Print command.
Packet::EnablePrinting ();
// instantiate a header.
MyHeader sourceHeader;
sourceHeader.SetData (2);