|Subject:||Documentation and example bugs|
While looking at the documentation on cpan.org I noticed the minor bugs addressed by the attached patch. The L5::UDP bug is probably more significant because it causes an incorrect link to be created in the online documentation.
diff --git a/lib/Net/Inspect.pm b/lib/Net/Inspect.pm index dc86cf6..930aad5 100644 --- a/lib/Net/Inspect.pm +++ b/lib/Net/Inspect.pm @@ -23,7 +23,7 @@ Net::Inspect - library for inspection of data on various network layers my $pcap = Net::Pcap->new... ... my $l7 = Net::Inspect::L7::HTTP->new; - my $l4 = Net::Inspect::L4::TCP->new($l5); + my $l4 = Net::Inspect::L4::TCP->new($l7); my $l3 = Net::Inspect::L3::IP->new($l4); my $l2 = Net::Inspect::L2::Pcap->new($pcap,$l3); @@ -85,7 +85,7 @@ processes raw IP packets, does defragmentation. handles TCP connections, e.g. connection setup and shutdown and reordering of packets. -=item L<Net::Inspect::L5::UDP> +=item L<Net::Inspect::L4::UDP> handles UDP packets. Can aggregate udp packets in virtual connections.