[asterisk-bugs] [JIRA] (SS7-42) libss7 test programs are broken!

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jun 17 19:02:59 CDT 2014


     [ https://issues.asterisk.org/jira/browse/SS7-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton closed SS7-42.
---------------------------

    Resolution: Fixed

Fixed in [LibSS7 2.0.0|http://downloads.asterisk.org/pub/telephony/libss7/ChangeLog-2.0.0]

> libss7 test programs are broken!
> --------------------------------
>
>                 Key: SS7-42
>                 URL: https://issues.asterisk.org/jira/browse/SS7-42
>             Project: LibSS7
>          Issue Type: Bug
>          Components: General
>            Reporter: tian
>            Severity: Minor
>
> In Libss7 SVN Trunk Rev.269, The function prototype of ss7_add_link() is:
> int ss7_add_link(struct ss7 *ss7, int transport, char *name, int slc, unsigned int adjpc)
> but the call to it in ss7linktest.c is:
>     if ((ss7_add_link(ss7, ismtp2 ? SS7_TRANSPORT_DAHDIMTP2 : SS7_TRANSPORT_DAHDIDCHAN, fd, -1, dpc))) {
>         perror("ss7_add_link");
>         exit(1);
>     }
> Apparently, they are NOT compatible and surely will NOT compile. I hope a runnable test program will be provided. Thanks!



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list