Browse code

Merge c7cf1937bfc9a36e70865fed8cf704f34f17685f into 394d78229ff26b44666efb021f84ec891b59b5ee

Erhan Onur Sendag authored on 25/10/2021 12:21:12 • GitHub committed on 25/10/2021 12:21:12
Showing 2 changed files
... ...
@@ -341,7 +341,7 @@ int db_insert_pcontact(struct pcontact* _c)
341 341
 		return -1;
342 342
 	}
343 343
 
344
-	if (ul_dbf.insert(ul_dbh, keys, values, 15) < 0) {
344
+	if (ul_dbf.insert(ul_dbh, keys, values, 16) < 0) {
345 345
 		LM_ERR("inserting contact in db failed\n");
346 346
 		return -1;
347 347
 	}
... ...
@@ -17,7 +17,7 @@ CREATE TABLE `location` (
17 17
   `socket` varchar(64) DEFAULT NULL,
18 18
   `public_ids` varchar(2048) DEFAULT NULL,
19 19
   `security_type` int(11) DEFAULT NULL,
20
-  `protocol` char(5) DEFAULT NULL,
20
+  `protocol` int(10) DEFAULT NULL,
21 21
   `mode` char(10) DEFAULT NULL,
22 22
   `ck` varchar(100) DEFAULT NULL,
23 23
   `ik` varchar(100) DEFAULT NULL,