#!/usr/bin/perl -w
###########################################################################
# $Id: arpwatch,v 1.3 2003/01/13 04:00:59 kirk Exp $
###########################################################################

my $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'};

while (defined($ThisLine = <STDIN>)) {
   chomp($ThisLine);
   next if ($ThisLine eq "");
   $ARPWatch{$ThisLine}++;
}

if ( ($Detail >= 10) and (keys %ARPWatch) ) {
   print "\n";
   foreach $ThisOne (sort {$a cmp $b} keys %ARPWatch) {
      print $ThisOne . "\n";
   }
}

exit(0);

