nat: Explain that we do not want to have a + in the replacement rule
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index e1f1ddc..abcb271 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -788,6 +788,12 @@
 		if (entry->mnc[0] == '*' || strncmp(entry->mnc, imsi + 3, 2) != 0)
 			continue;
 
+		if (entry->text[0] == '+') {
+			LOGP(DNAT, LOGL_ERROR,
+				"Plus is not allowed in the number");
+			continue;
+		}
+
 		/* We have an entry for the IMSI. Need to match now */
 		if (regcomp(&reg, entry->option, REG_EXTENDED) != 0) {
 			LOGP(DNAT, LOGL_ERROR,