diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-04 13:12:16 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-04 13:12:16 +0000 |
| commit | d55fe3e595eb0aad60484d273e251cfee4ef8aa5 (patch) | |
| tree | 1b9ff57d70411902db36582da8dbaded99485eeb /include | |
| parent | e8ef7ec7de0cd9906b42a94eddb800ed1229a614 (diff) | |
| download | busybox-w32-d55fe3e595eb0aad60484d273e251cfee4ef8aa5.tar.gz busybox-w32-d55fe3e595eb0aad60484d273e251cfee4ef8aa5.tar.bz2 busybox-w32-d55fe3e595eb0aad60484d273e251cfee4ef8aa5.zip | |
udhcp: optional support for non-standard DHCP ports (+300 bytes when selected)
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h index 989ed9134..fb88e9bcd 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -3892,7 +3892,7 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
| 3892 | 3892 | ||
| 3893 | #define udhcpc_trivial_usage \ | 3893 | #define udhcpc_trivial_usage \ |
| 3894 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ | 3894 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ |
| 3895 | " [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." | 3895 | " [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." USE_FEATURE_UDHCP_PORT(" [-P N]") |
| 3896 | #define udhcpc_full_usage \ | 3896 | #define udhcpc_full_usage \ |
| 3897 | USE_GETOPT_LONG( \ | 3897 | USE_GETOPT_LONG( \ |
| 3898 | " -V,--vendorclass=CLASSID Vendor class identifier" \ | 3898 | " -V,--vendorclass=CLASSID Vendor class identifier" \ |
| @@ -3913,6 +3913,9 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
| 3913 | "\n -q,--quit Quit after obtaining lease" \ | 3913 | "\n -q,--quit Quit after obtaining lease" \ |
| 3914 | "\n -R,--release Release IP on quit" \ | 3914 | "\n -R,--release Release IP on quit" \ |
| 3915 | "\n -O,--request-option=OPT Request DHCP option OPT from server" \ | 3915 | "\n -O,--request-option=OPT Request DHCP option OPT from server" \ |
| 3916 | USE_FEATURE_UDHCP_PORT( \ | ||
| 3917 | "\n -P,--client-port N Use port N instead of default 68" \ | ||
| 3918 | ) \ | ||
| 3916 | USE_FEATURE_UDHCPC_ARPING( \ | 3919 | USE_FEATURE_UDHCPC_ARPING( \ |
| 3917 | "\n -a,--arping Use arping to validate offered address" \ | 3920 | "\n -a,--arping Use arping to validate offered address" \ |
| 3918 | ) \ | 3921 | ) \ |
| @@ -3936,18 +3939,24 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
| 3936 | "\n -q Quit after obtaining lease" \ | 3939 | "\n -q Quit after obtaining lease" \ |
| 3937 | "\n -R Release IP on quit" \ | 3940 | "\n -R Release IP on quit" \ |
| 3938 | "\n -O OPT Request DHCP option OPT from server" \ | 3941 | "\n -O OPT Request DHCP option OPT from server" \ |
| 3942 | USE_FEATURE_UDHCP_PORT( \ | ||
| 3943 | "\n -P N Use port N instead of default 68" \ | ||
| 3944 | ) \ | ||
| 3939 | USE_FEATURE_UDHCPC_ARPING( \ | 3945 | USE_FEATURE_UDHCPC_ARPING( \ |
| 3940 | "\n -a Use arping to validate offered address" \ | 3946 | "\n -a Use arping to validate offered address" \ |
| 3941 | ) \ | 3947 | ) \ |
| 3942 | ) | 3948 | ) |
| 3943 | 3949 | ||
| 3944 | #define udhcpd_trivial_usage \ | 3950 | #define udhcpd_trivial_usage \ |
| 3945 | "[-fS] [configfile]" \ | 3951 | "[-fS]" USE_FEATURE_UDHCP_PORT(" [-P N]") " [configfile]" \ |
| 3946 | 3952 | ||
| 3947 | #define udhcpd_full_usage \ | 3953 | #define udhcpd_full_usage \ |
| 3948 | "DHCP server" \ | 3954 | "DHCP server" \ |
| 3949 | "\n -f Run in foreground" \ | 3955 | "\n -f Run in foreground" \ |
| 3950 | "\n -S Log to syslog too" | 3956 | "\n -S Log to syslog too" \ |
| 3957 | USE_FEATURE_UDHCP_PORT( \ | ||
| 3958 | "\n -P N Use port N instead of default 67" \ | ||
| 3959 | ) | ||
| 3951 | 3960 | ||
| 3952 | #define umount_trivial_usage \ | 3961 | #define umount_trivial_usage \ |
| 3953 | "[flags] FILESYSTEM|DIRECTORY" | 3962 | "[flags] FILESYSTEM|DIRECTORY" |
