mirror of
https://github.com/pj1234678/RustyDHCP.git
synced 2025-10-26 00:15:41 +08:00
Update README.md to reflect correct build command
This commit is contained in:
@@ -38,8 +38,8 @@ A simple and zero-dependency DHCP server written in Rust, with credit to Richard
|
|||||||
3. Build the server:
|
3. Build the server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd rusty-dhcp
|
cd RustyDHCP
|
||||||
cargo build --release
|
cargo build --release --example server
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -47,7 +47,7 @@ A simple and zero-dependency DHCP server written in Rust, with credit to Richard
|
|||||||
1. Start the DHCP server:
|
1. Start the DHCP server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./target/release/rusty-dhcp
|
sudo ./target/release/examples/server
|
||||||
```
|
```
|
||||||
|
|
||||||
The server will listen on the default DHCP ports (67 and 68) and start serving DHCP requests.
|
The server will listen on the default DHCP ports (67 and 68) and start serving DHCP requests.
|
||||||
|
|||||||
Reference in New Issue
Block a user