c637bc589d
dhclient now, it's ignored.
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
diff -up dhcp-3.0.6/client/dhclient.c.usage dhcp-3.0.6/client/dhclient.c
|
|
--- dhcp-3.0.6/client/dhclient.c.usage 2007-08-15 11:48:12.000000000 -0400
|
|
+++ dhcp-3.0.6/client/dhclient.c 2007-08-15 11:50:22.000000000 -0400
|
|
@@ -808,16 +808,25 @@ int main (argc, argv, envp)
|
|
|
|
static void usage ()
|
|
{
|
|
- log_info ("%s %s", message, DHCP_VERSION);
|
|
- log_info (copyright);
|
|
- log_info (arr);
|
|
- log_info (url);
|
|
-
|
|
- log_error ("Usage: dhclient [-1dqr] [-nw] [-p <port>] %s",
|
|
- "[-s server]");
|
|
- log_error (" [-cf config-file] [-lf lease-file]%s",
|
|
- "[-pf pid-file] [-e VAR=val]");
|
|
- log_fatal (" [-sf script-file] [interface]");
|
|
+ printf ("%s %s\n", message, DHCP_VERSION);
|
|
+ printf (copyright);
|
|
+ printf ("\n");
|
|
+ printf (arr);
|
|
+ printf ("\n");
|
|
+ printf (url);
|
|
+ printf ("\n");
|
|
+
|
|
+ printf ("Usage: dhclient [-1dqr] [-nw] [-p <port>] %s",
|
|
+ "[-s server]");
|
|
+ printf (" [-cf config-file] [-lf lease-file]%s",
|
|
+ "[-pf pid-file] [-e VAR=val]");
|
|
+ printf (" [ -I <dhcp-client-identifier> ] [-B]\n");
|
|
+ printf (" [ -H <host-name> | -F <fqdn.fqdn> ] [ -T <timeout> ]\n");
|
|
+ printf (" [ -V <vendor-class-identifier> ]\n");
|
|
+ printf (" [ -R <request option list> ]\n");
|
|
+ printf (" [-sf script-file] [interface]\n");
|
|
+
|
|
+ exit (EXIT_FAILURE);
|
|
}
|
|
|
|
isc_result_t find_class (struct class **c,
|