From e5198967a6745e36b164fb1d18314c9d1a251719 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 29 Dec 2009 11:12:00 +0100 Subject: [ipaccess] Use the right variable... *sigh* * I will refactor all this in the future.. --- openbsc/src/ipaccess/ipaccess-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/ipaccess/ipaccess-config.c') 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); } -- cgit v1.2.3