File: bug-37931.t

package info (click to toggle)
libnetpacket-perl 0.43.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 260 kB
  • ctags: 126
  • sloc: perl: 897; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 426 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use strict;
use warnings;

use Test::More tests => 1;                      # last test to print

use NetPacket::ICMP ':ALL';

ok ICMP_MASKREQ(), "ICMP_MASKRED defined";


__END__

=pod

Subject:  	NetPacket::ICMP has an export typo on ICMP_MASKREQ

I found a typo in NetPacket::ICMP:

> use constant ICMP_MASKREQ => 17;

This constant is exported and documented as ICMP_MASREQ, making
it unusable as an exported method.

=cut