Rather than updating the global, update the value of a parameter, so the action of the function is simpler.
Signed-off-by: Simon Glass <[email protected]> --- (no changes since v1) cmd/net.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Applied to sjg/master, thanks!

