diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-10 07:03:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-12-10 07:03:38 +0000 |
commit | 191836845e4551fe6191dc0d43b45a0232bff8be (patch) | |
tree | e6fd859b756304842334d0e0603856be2a5948e6 /include | |
parent | 75aa615bef478622cd0695b95adcf182fbbc3d95 (diff) | |
download | busybox-w32-191836845e4551fe6191dc0d43b45a0232bff8be.tar.gz busybox-w32-191836845e4551fe6191dc0d43b45a0232bff8be.tar.bz2 busybox-w32-191836845e4551fe6191dc0d43b45a0232bff8be.zip |
udhcpc: support for -O <option>.
Two important notes:
* nissrv and nisdomain are not requested by default anymore!
* inconsistency between "XXXsvr" and "XXsrv" in option names resolved,
all are "XXXsrv" now.
function old new delta
udhcpc_main 2494 2600 +106
packed_usage 23023 23067 +44
add_requests 91 119 +28
static.udhcpc_longopts 209 226 +17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index f6506b4f8..12d2cefd9 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3840,7 +3840,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3840 | 3840 | ||
3841 | #define udhcpc_trivial_usage \ | 3841 | #define udhcpc_trivial_usage \ |
3842 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ | 3842 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ |
3843 | " [-p pidfile] [-r IP] [-s script]" | 3843 | " [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." |
3844 | #define udhcpc_full_usage \ | 3844 | #define udhcpc_full_usage \ |
3845 | USE_GETOPT_LONG( \ | 3845 | USE_GETOPT_LONG( \ |
3846 | " -V,--vendorclass=CLASSID Vendor class identifier" \ | 3846 | " -V,--vendorclass=CLASSID Vendor class identifier" \ |
@@ -3860,6 +3860,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3860 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ | 3860 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ |
3861 | "\n -q,--quit Quit after obtaining lease" \ | 3861 | "\n -q,--quit Quit after obtaining lease" \ |
3862 | "\n -R,--release Release IP on quit" \ | 3862 | "\n -R,--release Release IP on quit" \ |
3863 | "\n -O,--request-option=OPT Request DHCP option OPT from server" \ | ||
3863 | USE_FEATURE_UDHCPC_ARPING( \ | 3864 | USE_FEATURE_UDHCPC_ARPING( \ |
3864 | "\n -a,--arping Use arping to validate offered address" \ | 3865 | "\n -a,--arping Use arping to validate offered address" \ |
3865 | ) \ | 3866 | ) \ |
@@ -3882,6 +3883,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3882 | "\n -n Exit with failure if lease is not immediately obtained" \ | 3883 | "\n -n Exit with failure if lease is not immediately obtained" \ |
3883 | "\n -q Quit after obtaining lease" \ | 3884 | "\n -q Quit after obtaining lease" \ |
3884 | "\n -R Release IP on quit" \ | 3885 | "\n -R Release IP on quit" \ |
3886 | "\n -O OPT Request DHCP option OPT from server" \ | ||
3885 | USE_FEATURE_UDHCPC_ARPING( \ | 3887 | USE_FEATURE_UDHCPC_ARPING( \ |
3886 | "\n -a Use arping to validate offered address" \ | 3888 | "\n -a Use arping to validate offered address" \ |
3887 | ) \ | 3889 | ) \ |