Date:2010-06-28 19:35:20 (13 years 8 months ago)
Author:markus
Commit:ea4702f52976a4c6e6f46b769d029752b8fb362b
Message:fixed trx version to handling

I forgot to write the right trx version to the actual header...


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21986 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: tools/firmware-utils/src/trx.c (2 diffs)

Change Details

tools/firmware-utils/src/trx.c
114114
115115    p->magic = STORE32_LE(TRX_MAGIC);
116116    cur_len = sizeof(struct trx_header) - 4; /* assume v1 header */
117    p->flag_version = STORE32_LE((trx_version << 16));
118117
119118    in = NULL;
120119    i = 0;
...... 
243242                usage();
244243        }
245244    }
245    p->flag_version = STORE32_LE((trx_version << 16));
246246
247247    if (!in) {
248248        fprintf(stderr, "we require atleast one filename\n");

Archive Download the corresponding diff file



interactive