[NETFRAME] Problems with packing an IP packet

Matthew Topper topperm9 at gmail.com
Thu Jul 12 12:32:25 CEST 2007


Adding the following to the pack function in IPv4 seems to fix that problem,
although wireshark still won't see my packets.  That's probably my own
fault, though.

###Added 7/12/2007 by mjt

   if ($self->[$__payload]) {
      $self->[$__raw] =
         $self->[$__raw].$self->SUPER::pack('a*', $self->[$__payload])
            or return undef;
   }

###

Matthew Topper
SUNY Geneseo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gomor.org/pipermail/netframe/attachments/20070712/60c5bfa5/attachment.htm 


More information about the netframe mailing list