diff options
author | Harald Welte <laforge@gnumonks.org> | 2008-11-27 13:28:32 +0530 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2008-11-27 13:28:32 +0530 |
commit | 89cd1ec48ed85524f97fe1fd921b28bbe5ca797e (patch) | |
tree | a1dc8f2a41412892b46afb46f8bd42eea4bf2c11 /gsm-tvoid | |
parent | 6c274198ad9ed182545125fb6bfde2a99114cc0a (diff) |
[gsm-tvoid] Use correct frame number in gsmtap header
Diffstat (limited to 'gsm-tvoid')
-rw-r--r-- | gsm-tvoid/src/lib/gsmstack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsm-tvoid/src/lib/gsmstack.c b/gsm-tvoid/src/lib/gsmstack.c index e09420c..adfe158 100644 --- a/gsm-tvoid/src/lib/gsmstack.c +++ b/gsm-tvoid/src/lib/gsmstack.c @@ -125,7 +125,7 @@ GS_process(GS_CTX *ctx, int ts, int type, const unsigned char *src) out_gsmdecode(0, 0, ts, ctx->fn - 4, data, len); write_interface(ctx->tun_fd, data+1, len-1, ctx->ether_addr); - write_pcap_packet(ctx->pcap_fd, 0 /* arfcn */, ts, fn, data, len); + write_pcap_packet(ctx->pcap_fd, 0 /* arfcn */, ts, ctx->fn, data, len); #if 0 if (ctx->fn % 51 != 0) && ( (((ctx->fn % 51 + 5) % 10 == 0) || (((ctx->fn % 51) + 1) % 10 ==0) ) ) ready = 1; |