From 140ff964cb8d91ded39fff1bccd950aa0cc8d75e Mon Sep 17 00:00:00 2001 From: Carsten Bock Date: Wed, 23 Nov 2016 08:20:00 +0100 Subject: [PATCH] ims_usrloc_pcscf: Remove unused param "lookup_check_received" --- .../doc/ims_usrloc_pcscf_admin.xml | 26 ------------------- modules/ims_usrloc_pcscf/udomain.c | 1 - modules/ims_usrloc_pcscf/ul_mod.c | 3 +-- 3 files changed, 1 insertion(+), 29 deletions(-) diff --git a/modules/ims_usrloc_pcscf/doc/ims_usrloc_pcscf_admin.xml b/modules/ims_usrloc_pcscf/doc/ims_usrloc_pcscf_admin.xml index 165ba41e059..b0bb07cd5ab 100644 --- a/modules/ims_usrloc_pcscf/doc/ims_usrloc_pcscf_admin.xml +++ b/modules/ims_usrloc_pcscf/doc/ims_usrloc_pcscf_admin.xml @@ -208,33 +208,7 @@ modparam("ims_usrloc_pcscf", "hashing_type", 1) -
- lookup_check_received (int) - If set to 1 (default), the Host in the contact will be checked - against the Host, from which the request was received. - - - - 0 - Upon lookup, do not check the host against received. - - - - 1 - Compare the host in the contact against the received info. - - - - Default value is 1. - - - Set lookup_check_received parameter - - ... -modparam("ims_usrloc_pcscf", "lookup_check_received", 0) -... - - -
match_contact_host_port (int) diff --git a/modules/ims_usrloc_pcscf/udomain.c b/modules/ims_usrloc_pcscf/udomain.c index b3c99b0189f..b6e745612d7 100644 --- a/modules/ims_usrloc_pcscf/udomain.c +++ b/modules/ims_usrloc_pcscf/udomain.c @@ -65,7 +65,6 @@ extern int db_mode; extern int db_mode_ext; extern unsigned int hashing_type; -extern int lookup_check_received; extern int match_contact_host_port; #ifdef STATISTICS diff --git a/modules/ims_usrloc_pcscf/ul_mod.c b/modules/ims_usrloc_pcscf/ul_mod.c index a3060cf6c12..3b2aed23d3f 100644 --- a/modules/ims_usrloc_pcscf/ul_mod.c +++ b/modules/ims_usrloc_pcscf/ul_mod.c @@ -88,7 +88,6 @@ int db_mode = 0; /*!< Database sync scheme: 0-no db, 1-write throug int ul_fetch_rows = 2000; int hashing_type = 0; /*!< has type for storing P-CSCF contacts - 0 - use full contact AOR, 1 - use IP:PORT only */ -int lookup_check_received = 1; /*!< Should we check received on lookup? */ int match_contact_host_port = 1; /*!< Should we match contact just based on rui host and port*/ db1_con_t* ul_dbh = 0; @@ -115,7 +114,7 @@ static param_export_t params[] = { {"timer_interval", INT_PARAM, &timer_interval }, {"db_mode", INT_PARAM, &db_mode }, {"hashing_type", INT_PARAM, &hashing_type }, - {"lookup_check_received", INT_PARAM, &lookup_check_received }, + {"match_contact_host_port", INT_PARAM, &match_contact_host_port }, {"expires_grace", INT_PARAM, &expires_grace },