aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gprs/gprs_ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/gprs/gprs_ns.h')
-rw-r--r--include/osmocom/gprs/gprs_ns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gprs/gprs_ns.h b/include/osmocom/gprs/gprs_ns.h
index 2d2f86ed..4fb9f584 100644
--- a/include/osmocom/gprs/gprs_ns.h
+++ b/include/osmocom/gprs/gprs_ns.h
@@ -140,6 +140,8 @@ struct gprs_nsvc {
/*! which link-layer are we based on? */
enum gprs_ns_ll ll;
+ /*! make sure to always keep bts_addr as first struct member to not break the assumption
+ that those structs are similar */
union {
struct {
struct sockaddr_in bts_addr;