瀏覽代碼

tcpdump: fixed syntax error and added better params

Agniva De Sarker 9 年之前
父節點
當前提交
3e355c7f36
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/common/tcpdump.md

+ 2 - 2
pages/common/tcpdump.md

@@ -14,9 +14,9 @@
 
 `tcpdump host {{www.example.com}}`
 
-- capture the traffic from a specific interface, source, destination and port
+- capture the traffic from a specific interface, source, destination and destination port
 
-`tcpdump -i {{eth0}} src {{192.168.1.1}} dest {{192.168.1.2}} and port 80`
+`tcpdump -i {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port 80`
 
 - capture the traffic of a network