As described in the thread starting with:

https://www.wireshark.org/lists/wireshark-dev/201305/msg00207.html

The PC and SSN are mandatory for the SCCP "user table" to work.  Complain if
they are not given.

svn path=/trunk/; revision=49605
This commit is contained in:
Jeff Morriss 2013-05-28 22:33:33 +00:00
parent eae1f37865
commit a9ce065e49

View file

@ -3418,10 +3418,22 @@ static struct _sccp_ul {
};
static void
sccp_users_update_cb(void *r, const char **err _U_)
sccp_users_update_cb(void *r, const char **err)
{
sccp_user_t *u = (sccp_user_t *)r;
struct _sccp_ul *c;
range_t *empty;
empty = range_empty();
if (ranges_are_equal(u->called_pc, empty)) {
*err = ep_strdup_printf("Must specify a PC");
return;
}
if (ranges_are_equal(u->called_ssn, empty)) {
*err = ep_strdup_printf("Must specify an SSN");
return;
}
for (c=user_list; c->handlep; c++) {
if (c->id == u->user) {