summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3331719)
raw | patch | inline | side by side (parent: 3331719)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 17:06:42 +0000 (17:06 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 17:06:42 +0000 (17:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8681 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/ArpWatch.pm | patch | blob | history |
index 95532cb9734a15faa9fdc38bb31f907520516b54..6487ef1013ea832eacd3a49053cbf71137a6e026 100644 (file)
package POE::Component::ArpWatch;
use strict;
+use warnings;
-use POE;
-
-use POE::Component::Pcap;
+BEGIN{
+ eval('use POE');
+ eval('use POE::Component::Pcap');
+ eval('use NetPacket::Ethernet qw( :types )');
+ eval('use NetPacket::ARP qw( :opcodes )');
+}
-use NetPacket::Ethernet qw( :types );
-use NetPacket::ARP qw( :opcodes );
+END{
+}
## Map arp opcode #'s to strings
my %arp_opcodes = (