Bug in smpp_pdu.c ?

"Paul Keogh" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
I think there is a bug in the smpp_pdu_pack() function
when packing optional parameters.

The tag_id and opt_len are not converted from host to
network byte ordering as they should be for a byte oriented
wire encoding.

The corresponding unpack function works fine.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.