From 89cd1ec48ed85524f97fe1fd921b28bbe5ca797e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 27 Nov 2008 13:28:32 +0530 Subject: [gsm-tvoid] Use correct frame number in gsmtap header --- gsm-tvoid/src/lib/gsmstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsm-tvoid') 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; -- cgit v1.2.3