Fwctl/Services/tftp.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
new
2.0
BEGIN
2.0
CRAP 2.0
1 #
2 # timed.pm: Fwctl service module to handle the tftp protocol.
3 #
4 # This file is part of Fwctl.
5 #
6 # Author: Francis J. Lacoste <francis.lacoste@iNsu.COM>
7 #
8 # Copyright (c) 1999,2000 iNsu Innovations Inc.
9 #
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 2 of the License, or
13 # (at your option) any later version.
14 #
15 package Fwtcl::Services::tftp;
16  
17 use strict;
18  
19 use vars qw(@ISA);
20  
21 BEGIN {
22 require Exporter;
23  
24 @ISA = qw( Fwctl::Services::udp_service);
25  
26 }
27  
28 sub new {
29 my $proto = shift;
30 my $class = ref($proto) || $proto;
31 my $self = $class->SUPER::new(@_);
32 $self->{port} = "tftp";
33 bless $self,$class;
34 }
35  
36 1;
37  
38 =pod
39  
40 =head1 NAME
41  
42 Fwctl::Services::all - Fwctl module to handle tftp protocol.
43  
44 =head1 SYNOPSIS
45  
46 deny tftp
47  
48 =head1 DESCRIPTION
49  
50 Service module to handle tftp protocol.
51  
52 =head1 AUTHOR
53  
54 Francis J. Lacoste <francis.lacoste@iNsu.COM>
55  
56 =head1 COPYRIGHT
57  
58 Copyright (c) 1999,2000 iNsu Innovations Inc.
59 All rights reserved.
60  
61 This program is free software; you can redistribute it and/or modify
62 it under the terms of the GNU General Public License as published by
63 the Free Software Foundation; either version 2 of the License, or
64 (at your option) any later version.
65  
66 =head1 SEE ALSO
67  
68 fwctl(8) Fwctl(3) Fwctl::RuleSet(3)
69  
70 =cut
71