[nat] Use the right len for the packages..
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 9af8467..6aed7c9 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -103,7 +103,7 @@
 
 	/* currently send this to every BSC connected */
 	llist_for_each_entry(bsc, &bsc_connections, list_entry) {
-		write(bsc->bsc_fd.fd, msg->data, msg->data_len);
+		write(bsc->bsc_fd.fd, msg->data, msg->len);
 	}
 }
 
@@ -161,7 +161,7 @@
 	/* FIXME: We need to filter out certain messages */
 
 	/* send the non-filtered but maybe modified msg */
-	return write(msc_connection.fd, msg->data, msg->data_len);
+	return write(msc_connection.fd, msg->data, msg->len);
 }
 
 static int ipaccess_bsc_cb(struct bsc_fd *bfd, unsigned int what)