Skip to content

Commit

Permalink
test-ping-userlevel: Take an INTERVAL command line argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Feb 22, 2012
1 parent e031cd8 commit cdb4d21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions conf/test-ping-userlevel.click
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
// You should see, printed to standard error, a sequence of "icmp echo"
// printouts intermixed with "ping :: ICMPPingSource" receive reports.

define($DEV eth0, $DADDR 8.8.8.8, $GW $DEV:gw, $LIMIT -1, $METHOD PCAP)
define($DEV eth0, $DADDR 8.8.8.8, $GW $DEV:gw, $METHOD PCAP,
$LIMIT -1, $INTERVAL 1)

FromDevice($DEV, SNIFFER false, METHOD $METHOD)
-> c :: Classifier(12/0800, 12/0806 20/0002)
-> CheckIPHeader(14)
-> ip :: IPClassifier(icmp echo-reply)
-> ping :: ICMPPingSource($DEV, $DADDR, LIMIT $LIMIT, STOP true)
-> ping :: ICMPPingSource($DEV, $DADDR, INTERVAL $INTERVAL,
LIMIT $LIMIT, STOP true)
-> SetIPAddress($GW)
-> arpq :: ARPQuerier($DEV)
-> IPPrint
Expand Down

0 comments on commit cdb4d21

Please sign in to comment.