[Buildroot] [git commit] package/busybox/udhcpc.script: ensure action argument is correctly passed to hook scripts

Peter Korsgaard peter at korsgaard.com
Sat Sep 4 21:02:56 UTC 2021


>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=94c41eef615bb33ad26fff71d341f66e35286f5d
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > commit f79a420825479c47d (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: Ž‹ <wangwangqi2011 at gmail.com>
 > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

Committed to 2021.02.x and 2021.05.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list