diff options
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/gprs/gprs_ns.h | 2 |
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; |