Attention is currently required from: pespin, fixeria.
pespin uploaded patch set #2 to this change.
layer23: Fix cmdline args not applied
A recent commit broke setting values set on the MS object from the
command line. That's due to a chicken-and-egg problem between app hooks and
the layer23 initialization code. It is desirable to initialize memory
before parsing command line and VTY, so that the data model exists
already and cmdline/VTY commands can apply the new settings directly on
the objects.
However, unlike VTY commands, the cmdline commands were not really
applying the settings to the already created objects, but only storing
it in the global variable which is used during object creation (hence
only objects created *after* command like, aka l23_start() or VTY
would have it applied.
In order to fix it, simply iterate over the existing list of MS objects
and update the setting from the command line in there.
Related: OS#5907
Change-Id: I285a4908401659b69dac513dd1a4b07facb88c51
---
M src/host/layer23/src/common/main.c
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/54/31354/2
To view, visit change 31354. To unsubscribe, or for help writing mail filters, visit settings.