diff options
-rw-r--r-- | networking/ifupdown.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 5d6994f6e..864fc2acd 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -483,7 +483,7 @@ struct dhcp_client_t { | |||
483 | 483 | ||
484 | static const struct dhcp_client_t ext_dhcp_clients[] = { | 484 | static const struct dhcp_client_t ext_dhcp_clients[] = { |
485 | { "dhcpcd", | 485 | { "dhcpcd", |
486 | "dhcpcd[[ -h %hostname%]][[ -i %vendor%]][[ -I %clientid%]][[ -l %leasetime%]] %iface%", | 486 | "dhcpcd[[ -h %hostname%]][[ -i %vendor%]][[ -I %client%]][[ -l %leasetime%]] %iface%", |
487 | "dhcpcd -k %iface%", | 487 | "dhcpcd -k %iface%", |
488 | }, | 488 | }, |
489 | { "dhclient", | 489 | { "dhclient", |
@@ -495,7 +495,7 @@ static const struct dhcp_client_t ext_dhcp_clients[] = { | |||
495 | "pump -i %iface% -k", | 495 | "pump -i %iface% -k", |
496 | }, | 496 | }, |
497 | { "udhcpc", | 497 | { "udhcpc", |
498 | "udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid -i %iface%[[ -H %hostname%]][[ -c %clientid%]]" | 498 | "udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid -i %iface%[[ -H %hostname%]][[ -c %client%]]" |
499 | "[[ -s %script%]][[ %udhcpc_opts%]]", | 499 | "[[ -s %script%]][[ %udhcpc_opts%]]", |
500 | "kill `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", | 500 | "kill `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", |
501 | }, | 501 | }, |
@@ -535,7 +535,7 @@ static int FAST_FUNC dhcp_up(struct interface_defn_t *ifd, execfn *exec) | |||
535 | return 0; | 535 | return 0; |
536 | #endif | 536 | #endif |
537 | return execute("udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid " | 537 | return execute("udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid " |
538 | "-i %iface%[[ -H %hostname%]][[ -c %clientid%]][[ -s %script%]][[ %udhcpc_opts%]]", | 538 | "-i %iface%[[ -H %hostname%]][[ -c %client%]][[ -s %script%]][[ %udhcpc_opts%]]", |
539 | ifd, exec); | 539 | ifd, exec); |
540 | } | 540 | } |
541 | #else | 541 | #else |