<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22507">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gprs_ns2: migrate to the new vty syntax<br><br>This also changes the vty configuration.<br><br>Depends-on: I8c3f2afecc74b78f7f914f7dce166cbcb63444eb (libosmocore)<br>Change-Id: I14af821a8d1fda670643c3d5f81299a3abf3c583<br>---<br>M src/pcu_main.cpp<br>1 file changed, 1 insertion(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/07/22507/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp</span><br><span>index ea7e341..003cabb 100644</span><br><span>--- a/src/pcu_main.cpp</span><br><span>+++ b/src/pcu_main.cpp</span><br><span>@@ -270,7 +270,7 @@</span><br><span>                 exit(1);</span><br><span>     }</span><br><span>    bssgp_set_bssgp_callback(gprs_gp_send_cb, pcu->nsi);</span><br><span style="color: hsl(0, 100%, 40%);">- gprs_ns2_vty_init(pcu->nsi, NULL);</span><br><span style="color: hsl(120, 100%, 40%);">+ gprs_ns2_vty_init(pcu->nsi);</span><br><span> </span><br><span>  rc = vty_read_config_file(config_file, NULL);</span><br><span>        if (rc < 0 && config_given) {</span><br><span>@@ -282,8 +282,6 @@</span><br><span>               fprintf(stderr, "No config file: '%s' Using default config.\n",</span><br><span>                    config_file);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-       gprs_ns2_vty_create();</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>       rc = telnet_init_dynif(tall_pcu_ctx, NULL, vty_get_bind_addr(),</span><br><span>                             OSMO_VTY_PORT_PCU);</span><br><span>   if (rc < 0) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22507">change 22507</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-pcu/+/22507"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I14af821a8d1fda670643c3d5f81299a3abf3c583 </div>
<div style="display:none"> Gerrit-Change-Number: 22507 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>