aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-06 15:11:34 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:12 +0800
commit47dd4944ae36d7c1fa91187d355512d99d4bd137 (patch)
tree93179919c6ec8bab78f9997aed831d1e433bff0a /openbsc/include/openbsc/bsc_nat.h
parenta7c377d593b88cd6ac91e59d2d75c6d873282590 (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/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h4
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;