[nat] Fix the size check of the LU Request.
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index 275ecb4..7c05edc 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -200,8 +200,9 @@
 	struct gsm48_loc_upd_req *lu;
 	char mi_string[GSM48_MI_SIZE];
 
-	if (sizeof(*lu) < length) {
-		LOGP(DNAT, LOGL_ERROR, "Location updating request does not fit.\n");
+	if (length < sizeof(*lu)) {
+		LOGP(DNAT, LOGL_ERROR,
+		     "LU does not fit. Length is %d \n", length);
 		return -1;
 	}