Hi all,

There is a mistake in kannel 1.1.5, in the module: smsc_smpp.c.

statict void handle_pdu(...)
{
...
switch( pdu->type ) {
...
 case bind_receiver_resp:
  if(pdu->u.bind_transmitter_resp.command_status != 0) { <-Mistake here
     error(0, "SMPP: SMSC rejected login to receive, code 0x%08lx.",
     pdu->u.bind_transmitter_resp.command_status);
  }
  break;
  ...
}

}

The bug is we should check status of
u.bind_receiver_resp.command_status when receive bin_receiver_resp, not
u.bind_transmitter_resp.

Athought this bug is not a big problem and didn't effect on kannel
activity, we still should to correct it.

Le Nhu Hai







__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to