Browse Source

Fix mistakes in README

- Fix binary path in tcpdump example
- Fix IP address in ping example
Herman J. Radtke III 7 năm trước cách đây
mục cha
commit
d404beea3b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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