commit | 679a2eb1f9367f0cf3a5d7cfa3a6029b774d17ed | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Dec 28 11:28:51 2009 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Dec 28 11:28:51 2009 +0100 |
tree | 04cbb14c08321f84dab269f0590d316605819e9d | |
parent | 876a06bd343d049e5eab13c1903028c972dc8f34 [diff] [blame] |
[ipaccess] Properly increment the segs_in_window Somehow this should be done in the fill method..
diff --git a/openbsc/src/abis_nm.c b/openbsc/src/abis_nm.c index 9ed7253..17e8d0f 100644 --- a/openbsc/src/abis_nm.c +++ b/openbsc/src/abis_nm.c
@@ -1307,6 +1307,7 @@ if (len != IPACC_SEGMENT_SIZE) sw->last_seg = 1; + ++sw->seg_in_window; msgb_tl16v_put(msg, NM_ATT_IPACC_FILE_DATA, len, (const u_int8_t *) seg_buf); len += 3; break;