From c1abc850268c1188d14bfd0d21a10df69e8ceff4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 4 Nov 2007 23:12:50 +1300 Subject: [PATCH] Line buffering of the result is better. --- testing/watch-port-80.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/watch-port-80.sh b/testing/watch-port-80.sh index 065a9405..a479496c 100755 --- a/testing/watch-port-80.sh +++ b/testing/watch-port-80.sh @@ -2,4 +2,4 @@ PORT=${1:-"80"} -sudo tcpdump -i lo -s0 -n -q -A "tcp port ${PORT} and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)" +sudo tcpdump -i any -s0 -l -n -q -A "tcp port ${PORT} and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)"