--- tcpdump.se.12-02-10.1 Sun Jul 13 01:26:18 2003 +++ tcpdump.se Thu Dec 2 12:04:06 2004 @@ -64,6 +64,7 @@ $verbosity="-vv" if ($verbose eq "very verbose"); $verbosity="-q" if ($verbose eq "quiet"); my $hexad = ""; + $mac = "-e" if ($eth); $hexad = "-x" if ($hexa eq "hex"); $hexad = "-X" if ($hexa eq "with ASCII"); my $cntarg = "-c $count" if ($count > 0); @@ -76,7 +77,7 @@ } $pattern_error = "Pattern input error:\n\n\t$pattern\n" if ( system $TCPDUMP_PLGBIN, "-tt", "-S", $lookuparg, $verbosity, "-r", $PCAPTESTF, $pattern ); - return "$TCPDUMP_PLGBIN -tt -S $lookuparg $verbosity $hexad $cntarg -r - $quotepattern"; + return "$TCPDUMP_PLGBIN -tt -S $mac $lookuparg $verbosity $hexad $cntarg -r - $quotepattern"; } # @@ -101,6 +102,13 @@ param_type => "radio", values => [ "none", "hex", "with ASCII" ], default_value => "none", + }, + eth => { + spacing => "3", + param_label => "Print frame header info", + param_type => "checkbox", + values => [ " " ], + maxlen => "1", } ); }