File: fw-list.pl

package info (click to toggle)
libnet-libdnet-perl 0.98-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 412 kB
  • sloc: perl: 1,007; ansic: 311; makefile: 9
file content (13 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl
use strict; use warnings;

use Net::Libdnet::Fw;
use Data::Dumper;

my $h = Net::Libdnet::Fw->new;
$h->loop(\&fw_print);

sub fw_print {
   my ($rule, $data) = @_;
   print Dumper($rule)."\n";
}