浏览代码

Fix mistakes in README

- Fix binary path in tcpdump example
- Fix IP address in ping example
Herman J. Radtke III 7 年之前
父节点
当前提交
d404beea3b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -214,7 +214,7 @@ Read its [source code](/examples/tcpdump.rs), then run it as:
 
 
 ```sh
 ```sh
 cargo build --example tcpdump
 cargo build --example tcpdump
-sudo ./target/debug/tcpdump eth0
+sudo ./target/debug/examples/tcpdump eth0
 ```
 ```
 
 
 ### examples/httpclient.rs
 ### examples/httpclient.rs
@@ -257,7 +257,7 @@ The first ECHO\_REQUEST packet is expected to be lost since arp\_cache is empty
 the ECHO\_REQUEST packet is dropped and an ARP request is sent instead.
 the ECHO\_REQUEST packet is dropped and an ARP request is sent instead.
 
 
 Currently, netmasks are not implemented, and so the only address this example can reach
 Currently, netmasks are not implemented, and so the only address this example can reach
-is the other endpoint of the tap interface, `192.168.1.100`. It cannot reach itself because
+is the other endpoint of the tap interface, `192.168.69.100`. It cannot reach itself because
 packets entering a tap interface do not loop back.
 packets entering a tap interface do not loop back.
 
 
 ### examples/server.rs
 ### examples/server.rs