diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-11-09 16:58:31 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-11-09 16:58:31 +0100 |
commit | c5a077f5f97f0262782040b5f20e89a944202eb4 (patch) | |
tree | ace746029ad14b22d8b8781de619b10e2bca6ba8 /gsm-tvoid/src/lib/gsmstack.c | |
parent | aa2ed9259be0b40c53361e3df7e28d35c3f12e22 (diff) |
Remove old 'tun' based interface to wireshark
this interface has long been replaced by GSMTAP on top of UDP, which
is supported in wireshark mainline
Diffstat (limited to 'gsm-tvoid/src/lib/gsmstack.c')
-rw-r--r-- | gsm-tvoid/src/lib/gsmstack.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gsm-tvoid/src/lib/gsmstack.c b/gsm-tvoid/src/lib/gsmstack.c index a46bc87..988689e 100644 --- a/gsm-tvoid/src/lib/gsmstack.c +++ b/gsm-tvoid/src/lib/gsmstack.c @@ -72,10 +72,6 @@ GS_new(GS_CTX *ctx) ctx->fn = -1; ctx->bsic = -1; - ctx->tun_fd = mktun("gsm", ctx->ether_addr); - if (ctx->tun_fd < 0) - fprintf(stderr, "cannot open 'gsm' tun device, did you create it?\n"); - ctx->pcap_fd = open_pcap_file("tvoid.pcap"); if (ctx->pcap_fd < 0) fprintf(stderr, "cannot open PCAP file: %s\n", strerror(errno)); @@ -165,7 +161,6 @@ GS_process(GS_CTX *ctx, int ts, int type, const unsigned char *src) //DEBUGF("OK TS %d, len %d\n", ts, len); 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, ctx->fn, 0, NORMAL, data, len); #if 0 |