1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +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:
Maciej 2022-05-01 11:18:31 +02:00 committed by Andreas Kling
parent bcf124c07d
commit 06c90b35ec
2 changed files with 2 additions and 31 deletions

View file

@ -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 -->