diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 15:11:34 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-06 15:12:25 +0200 |
commit | 86f42eb6a5091805e5569edeed1f32b97124f720 (patch) | |
tree | 817ec02afc7043755543faceee923bfdcd53300e /openbsc/include | |
parent | 494c086dca1fbfcfeaf0d2dbde4fd6f85e6552a8 (diff) |
nat: Store the config in the connection instead of the lac
This allows that we can print the Nr. next to the lac
and it allows us to change the lac at runtime without
reconnecting the BSC.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 6cf20f2d0..ff0f907c5 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -84,8 +84,8 @@ struct bsc_connection { /* the fd we use to communicate */ struct write_queue write_queue; - /* the LAC assigned to this connection */ - unsigned int lac; + /* the BSS associated */ + struct bsc_config *cfg; /* a timeout node */ struct timer_list id_timeout; |