<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-cbc/+/20442">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: use install_lib_element() and install_lib_element_ve()<br><br>See https://lists.osmocom.org/pipermail/openbsc/2020-October/013278.html.<br><br>Change-Id: I87d3720bd4e944de461c24fe2874b3785d644221<br>Related: SYS#4937<br>---<br>M src/cbc_vty.c<br>1 file changed, 8 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/42/20442/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/cbc_vty.c b/src/cbc_vty.c</span><br><span>index 6687a69..c1c777f 100644</span><br><span>--- a/src/cbc_vty.c</span><br><span>+++ b/src/cbc_vty.c</span><br><span>@@ -154,16 +154,16 @@</span><br><span> </span><br><span> void cbc_vty_init(void)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-      install_element(CONFIG_NODE, &cfg_cbc_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+       install_lib_element(CONFIG_NODE, &cfg_cbc_cmd);</span><br><span>  install_node(&cbc_node, config_write_cbc);</span><br><span style="color: hsl(0, 100%, 40%);">-  install_element(CBC_NODE, &cfg_permit_unknown_peers_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+ install_lib_element(CBC_NODE, &cfg_permit_unknown_peers_cmd);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   install_element(CBC_NODE, &cfg_cbc_peer_cmd);</span><br><span style="color: hsl(0, 100%, 40%);">-       install_element(CBC_NODE, &cfg_cbc_no_peer_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+  install_lib_element(CBC_NODE, &cfg_cbc_peer_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+ install_lib_element(CBC_NODE, &cfg_cbc_no_peer_cmd);</span><br><span>     install_node(&peer_node, config_write_peer);</span><br><span style="color: hsl(0, 100%, 40%);">-        install_element(PEER_NODE, &cfg_peer_proto_cmd);</span><br><span style="color: hsl(0, 100%, 40%);">-    install_element(PEER_NODE, &cfg_peer_remote_port_cmd);</span><br><span style="color: hsl(0, 100%, 40%);">-      install_element(PEER_NODE, &cfg_peer_no_remote_port_cmd);</span><br><span style="color: hsl(0, 100%, 40%);">-   install_element(PEER_NODE, &cfg_peer_remote_ip_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+      install_lib_element(PEER_NODE, &cfg_peer_proto_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+      install_lib_element(PEER_NODE, &cfg_peer_remote_port_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+        install_lib_element(PEER_NODE, &cfg_peer_no_remote_port_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+     install_lib_element(PEER_NODE, &cfg_peer_remote_ip_cmd);</span><br><span> </span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-cbc/+/20442">change 20442</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-cbc/+/20442"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-cbc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I87d3720bd4e944de461c24fe2874b3785d644221 </div>
<div style="display:none"> Gerrit-Change-Number: 20442 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>