aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess/ipaccess-config.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-12-29 11:12:00 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-12-30 04:40:49 +0100
commite5198967a6745e36b164fb1d18314c9d1a251719 (patch)
treeb2f4ee53ee8dfb1c91b93efb9b2a8622f27cb3a8 /openbsc/src/ipaccess/ipaccess-config.c
parent93f4207ce62cba043a217c3eefb0023a8c429357 (diff)
[ipaccess] Use the right variable... *sigh*
* I will refactor all this in the future..
Diffstat (limited to 'openbsc/src/ipaccess/ipaccess-config.c')
-rw-r--r--openbsc/src/ipaccess/ipaccess-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-config.c b/openbsc/src/ipaccess/ipaccess-config.c
index 8cd0526b0..016459bdd 100644
--- a/openbsc/src/ipaccess/ipaccess-config.c
+++ b/openbsc/src/ipaccess/ipaccess-config.c
@@ -220,7 +220,7 @@ static int swload_cbfn(unsigned int hook, unsigned int event, struct msgb *_msg,
if (sw_load2) {
msgb_v_put(msg, NM_ATT_SW_DESCR);
- msgb_tl16v_put(msg, NM_ATT_FILE_ID, sw_load2->file_id_len, sw_load1->file_id);
+ msgb_tl16v_put(msg, NM_ATT_FILE_ID, sw_load2->file_id_len, sw_load2->file_id);
msgb_tl16v_put(msg, NM_ATT_FILE_VERSION, sw_load2->file_version_len,
sw_load2->file_version);
}