Actions
Bug #4303
openvarious minor issues about evaluation of rc = db_subscr_get_by_*()
Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
12/03/2019
Due date:
% Done:
0%
Spec Reference:
Description
vty function 'subscriber imsi IDENT create':
We create the subscriber, and then db_subscr_get_by_imsi(), which might produce an error.
It's unlikely since creationg rc is evaluated just before that, but still.
If the rc returns an error, we should echo that to the VTY user.
rc = db_subscr_get_by_imsi(g_hlr->dbc, imsi, &subscr); vty_out(vty, "%% Created subscriber %s%s", imsi, VTY_NEWLINE); subscr_dump_full_vty(vty, &subscr); return CMD_SUCCESS; }
Actions