aboutsummaryrefslogtreecommitdiffstats
path: root/src/e1_recorder.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-07-28 21:03:40 +0200
committerHarald Welte <laforge@gnumonks.org>2016-07-28 21:03:40 +0200
commit0e91aa1ec5a74704044a9cbb06964d47a1861d24 (patch)
tree2b3293224f2790fbf5977bba123b00a6770c69e2 /src/e1_recorder.c
parent39cfbf435def2ecf18e7292f92ff34ef2da66561 (diff)
fix compilation
Diffstat (limited to 'src/e1_recorder.c')
-rw-r--r--src/e1_recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/e1_recorder.c b/src/e1_recorder.c
index 420834f..5c53205 100644
--- a/src/e1_recorder.c
+++ b/src/e1_recorder.c
@@ -27,14 +27,14 @@ static enum osmo_e1cap_capture_mode ts2cap_mode(struct e1inp_ts *ts)
/* receive a raw message frome the E1 timeslot */
void e1ts_raw_recv(struct e1inp_ts *ts, struct msgb *msg)
{
- struct e1_recorder_line *rline = &g_recorder.line[ts->line->nr];
+ struct e1_recorder_line *rline = &g_recorder.line[ts->line->num];
enum osmo_e1cap_capture_mode cap_mode = ts2cap_mode(ts);
/* FIXME: special processing of TFP and PGSL */
e1frame_store(ts, msg, cap_mode);
- if (rline.mirror.enabled) {
+ if (rline->mirror.enabled) {
/* forward data to destination line */
}
}