diff options
| author | Álvaro Fernández Rojas | 2025-12-14 21:41:32 +0000 |
|---|---|---|
| committer | Álvaro Fernández Rojas | 2025-12-17 07:59:45 +0000 |
| commit | 0f64e66b92ba107e9f02f1a387abf18f7a3d760d (patch) | |
| tree | 17c55db1fc7f789290940a9285063b5581e65df9 | |
| parent | 13805fce5aa6303b92cba83a9c7bb4b8f80f5d0a (diff) | |
| download | odhcp6c-0f64e66b92ba107e9f02f1a387abf18f7a3d760d.tar.gz | |
odhcp6c: fix "-S" usage
Commit 1d6c4e794cdb converted "-S" option from integer to boolean, but
usage wasn't properly updated.
Fixes: 1d6c4e794cdb ("src: convert allow_slaac_only to boolean")
Link: https://github.com/openwrt/odhcp6c/pull/136
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| -rw-r--r-- | src/odhcp6c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 123d9d3..6c6acd4 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -776,7 +776,7 @@ static int usage(void) const char buf[] = "Usage: odhcp6c [options] <interface>\n" "\nFeature options:\n" - " -S <time> Wait at least <time> sec for a DHCP-server (0)\n" + " -S Don't allow configuration via SLAAC (RAs) only\n" " -D Discard advertisements without any address or prefix proposed\n" " -N <mode> Mode for requesting addresses [try|force|none]\n" " -P <[pfx/]len> Request IPv6-Prefix (0 = auto)\n" |