aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess/ipaccess-firmware.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-22 11:22:54 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-22 11:22:54 +0100
commit38722cca48771a791c08bd4911c208520e4eb627 (patch)
treedd1cc6583a91efb6b0d48b665f53b85cbf60a72e /openbsc/src/ipaccess/ipaccess-firmware.c
parentf63bf4d8f13c1707e6fb68f0ef722caa3cb8c4ba (diff)
ipa-firmware: Write the firmware parts to a file
The first non working version to dump the content of the sdp to the terminal..
Diffstat (limited to 'openbsc/src/ipaccess/ipaccess-firmware.c')
-rw-r--r--openbsc/src/ipaccess/ipaccess-firmware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/ipaccess/ipaccess-firmware.c b/openbsc/src/ipaccess/ipaccess-firmware.c
index 5f16a7d58..d1004ea9e 100644
--- a/openbsc/src/ipaccess/ipaccess-firmware.c
+++ b/openbsc/src/ipaccess/ipaccess-firmware.c
@@ -117,6 +117,7 @@ int ipaccess_analyze_file(int fd, const unsigned int st_size, const unsigned int
header_entry = talloc_zero(header, struct sdp_header_item);
header_entry->header_entry = entry;
+ header_entry->absolute_offset = lseek(fd, 0, SEEK_CUR);
llist_add(&header_entry->entry, &header->header_list);
/* now we need to find the SDP file... */