mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
				synced 2025-10-31 12:03:50 +00:00 
			
		
		
		
	[nat] Print on which BSC config this happend.
This commit is contained in:
		| @@ -208,7 +208,7 @@ static int auth_imsi(struct bsc_connection *bsc, const char *mi_string) | ||||
| 	if (bsc->cfg->imsi_deny) { | ||||
| 		if (regexec(&bsc->cfg->imsi_deny_re, mi_string, 0, NULL, 0) == 0) { | ||||
| 			LOGP(DNAT, LOGL_ERROR, | ||||
| 			     "Filtering %s by imsi_deny.\n", mi_string); | ||||
| 			     "Filtering %s by imsi_deny on bsc nr: %d.\n", mi_string, bsc->cfg->nr); | ||||
| 			return -2; | ||||
| 		} | ||||
| 	} | ||||
| @@ -223,7 +223,7 @@ static int auth_imsi(struct bsc_connection *bsc, const char *mi_string) | ||||
| 	if (bsc->nat->imsi_deny) { | ||||
| 		if (regexec(&bsc->nat->imsi_deny_re, mi_string, 0, NULL, 0) == 0) { | ||||
| 			LOGP(DNAT, LOGL_ERROR, | ||||
| 			     "Filtering %s by nat imsi_deny.\n", mi_string); | ||||
| 			     "Filtering %s by nat imsi_deny on bsc nr: %d.\n", mi_string, bsc->cfg->nr); | ||||
| 			return -3; | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user