Navigation Menu

Skip to content

Commit

Permalink
Fix on saving protocol info for ims_usrloc_pcscf
Browse files Browse the repository at this point in the history
  • Loading branch information
67456745 committed Oct 11, 2021
1 parent d737c87 commit c7cf193
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/ims_usrloc_pcscf/usrloc_db.c
Expand Up @@ -341,7 +341,7 @@ int db_insert_pcontact(struct pcontact* _c)
return -1;
}

if (ul_dbf.insert(ul_dbh, keys, values, 15) < 0) {
if (ul_dbf.insert(ul_dbh, keys, values, 16) < 0) {
LM_ERR("inserting contact in db failed\n");
return -1;
}
Expand Down
2 changes: 1 addition & 1 deletion utils/kamctl/mysql/ims_usrloc_pcscf-create.sql
Expand Up @@ -17,7 +17,7 @@ CREATE TABLE `location` (
`socket` varchar(64) DEFAULT NULL,
`public_ids` varchar(2048) DEFAULT NULL,
`security_type` int(11) DEFAULT NULL,
`protocol` char(5) DEFAULT NULL,
`protocol` int(10) DEFAULT NULL,
`mode` char(10) DEFAULT NULL,
`ck` varchar(100) DEFAULT NULL,
`ik` varchar(100) DEFAULT NULL,
Expand Down

0 comments on commit c7cf193

Please sign in to comment.