Parent Directory | Revision Log
added ip::devices_up and use it for wireshark to offer sniffing targets
1 | #!/usr/bin/perl |
2 | |
3 | use warnings; |
4 | use strict; |
5 | use autodie; |
6 | |
7 | use Test::More tests => 6; |
8 | use Data::Dump qw/dump/; |
9 | |
10 | use_ok 'ip'; |
11 | |
12 | foreach my $object ( qw/link route/ ) { |
13 | ok( my @a = ip::lines( $object ), "lines $object" ); |
14 | diag dump( @a ); |
15 | ok( my $h = ip::html( $object ), "html $object" ); |
16 | diag $h; |
17 | } |
18 | |
19 | ok( my @devs = ip::devices_up(), 'devices_up' ); |
20 | diag dump( @devs ); |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |