mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
ifconfig: Stop supporting setting/displaying default gateway
The `route` command allows more sophiscated control over routing tables now, and supporting this in ifconfig is no longer meaningful.
This commit is contained in:
parent
bcf124c07d
commit
06c90b35ec
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/sppmacd
Commit: 06c90b35ec
Pull-request: https://github.com/SerenityOS/serenity/pull/13857
Reviewed-by: https://github.com/brapru
2 changed files with 2 additions and 31 deletions
|
@ -5,7 +5,7 @@ ifconfig
|
|||
## Synopsis
|
||||
|
||||
```sh
|
||||
$ ifconfig [--ipv4 ip] [--adapter adapter] [--gateway gateway] [--mask mask]
|
||||
$ ifconfig [--ipv4 ip] [--adapter adapter] [--mask mask]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
@ -16,7 +16,6 @@ Display or modify the configuration of each network interface.
|
|||
|
||||
* `-i ip`, `--ipv4 ip`: Set the IP address of the selected network
|
||||
* `-a adapter`, `--adapter adapter`: Select a specific network adapter to configure
|
||||
* `-g gateway`, `--gateway gateway`: Set the default gateway of the selected network
|
||||
* `-m mask`, `--mask mask`: Set the network mask of the selected network
|
||||
|
||||
<!-- Auto-generated through ArgsParser -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue