<div>hi.</div>
<div>we have corrected a bug in ss7 stack when slc is not equal to 0.</div>
<div> </div>
<div>File : mtp3.c</div>
<div>Function : set_routinglabel</div>
<div> </div>
<div>Old code :</div>
<div> </div>
<div> case SS7_ITU:<br> buf[0] = rl->dpc & 0xff;<br> buf[1] = ((rl->dpc >> 8) & 0x3f) | ((rl->opc << 6) & 0xc0);<br> buf[2] = (rl->opc >> 2) & 0xff;
<br> buf[3] = ((rl->opc >> 10) & 0x0f) | (rl->sls & 0xf0);<br> return 4;<br> </div>
<div> </div>
<div> </div>
<div>Modified code:</div>
<div> </div>
<div> case SS7_ITU:<br> buf[0] = rl->dpc & 0xff;<br> buf[1] = ((rl->dpc >> 8) & 0x3f) | ((rl->opc << 6) & 0xc0);<br> buf[2] = (rl->opc >> 2) & 0xff;
<br> buf[3] = ((rl->opc >> 10) & 0x0f) | ((rl->sls <<4) & 0xf0);<br> return 4;<br> </div>
<div>Slc/sls should occupy upper nibble position as specified by ITU.</div>
<div><br clear="all"><br>-- <br>A.K.V.Sai jayram<br>Bangalore<br> </div>