Skip to content
Commit 94c41eef authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package/busybox/udhcpc.script: ensure action argument is correctly passed to hook scripts



commit f79a4208 (package/busybox/udhcpc.script: support RFC3442
static routes) used 'set --' clobbering the positional arguments, causing
the action argument to not be correctly forwarded to hook scripts for the
renew / bound cases if static routes are provided by the server.

As a workaround, save the action argument at the beginning of the script and
use that when calling hook scripts.

Reported-by: default avatar王琦 <wangwangqi2011@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 6454eacf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment