<p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236">View Change</a></p><p>5 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/libmsc/msc_vty.c">File src/libmsc/msc_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/libmsc/msc_vty.c@503">Patch Set #7, Line 503:</a> <code style="font-family:monospace,monospace">      "lcls-disable",</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Maybe use DEFUN_ATTR(...., CMD_ATTR_IMMEDIATE). There are new variants of DEFUN which allow to indicate when a config change takes effect. There is also an DEFUN_USRATTR() that allows to specify user defined attributes. bsc_vty.c is a good example to see how to use it. See also command.h in libosmocore.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/libmsc/msc_vty.c@506">Patch Set #7, Line 506:</a> <code style="font-family:monospace,monospace">     gsmnet->lcls_disable = 1;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">maybe use "true" - its also declared as bool</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/libmsc/msc_vty.c@513">Patch Set #7, Line 513:</a> <code style="font-family:monospace,monospace">{</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This probably should probably be "Globally enable LCLS..." ?</p><p style="white-space: pre-wrap; word-wrap: break-word;">I still would prefer to have "lcls-enable" and "no lcls-enable" commands.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/libmsc/msc_vty.c@514">Patch Set #7, Line 514:</a> <code style="font-family:monospace,monospace"> gsmnet->lcls_disable = 0;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">same here, better use "false"</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/osmo-msc/msc_main.c">File src/osmo-msc/msc_main.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236/7/src/osmo-msc/msc_main.c@261">Patch Set #7, Line 261:</a> <code style="font-family:monospace,monospace">        net->lcls_disable = 1;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">better use "true"</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-msc/+/24236">change 24236</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-msc/+/24236"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I705c860e51637b4537cad65a330ecbaaca96dd5b </div>
<div style="display:none"> Gerrit-Change-Number: 24236 </div>
<div style="display:none"> Gerrit-PatchSet: 7 </div>
<div style="display:none"> Gerrit-Owner: keith <keith@rhizomatica.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 06 Oct 2021 10:14:43 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>