<p>George Joseph <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7665">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Matthew Fredrickson: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_console: Use correct parameter for 'set active'<br><br>chan_console supports multiple devices but the CLI only works on a<br>single device. 'console set active' selects this device.<br><br>Sadly that CLI picks the wrong command-line parameter and will only<br>work for a device called 'active'.<br><br>ASTERISK-27490 #close<br><br>Change-Id: I2f0e5fe63db19845bee862575b739360797dc73d<br>---<br>M channels/chan_console.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_console.c b/channels/chan_console.c<br>index 02d6887..d7a7213 100644<br>--- a/channels/chan_console.c<br>+++ b/channels/chan_console.c<br>@@ -1235,7 +1235,7 @@<br> return CLI_SUCCESS;<br> }<br> <br>- if (!(pvt = find_pvt(a->argv[e->args - 1]))) {<br>+ if (!(pvt = find_pvt(a->argv[e->args]))) {<br> ast_cli(a->fd, "Could not find a device called '%s'.\n", a->argv[e->args]);<br> return CLI_FAILURE;<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7665">change 7665</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.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.asterisk.org/7665"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I2f0e5fe63db19845bee862575b739360797dc73d </div>
<div style="display:none"> Gerrit-Change-Number: 7665 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Tzafrir Cohen <tzafrir.cohen@xorcom.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Matthew Fredrickson <creslin@digium.com> </div>