summaryrefslogtreecommitdiff
path: root/gsm-receiver/src/lib/decoder
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-07-29 21:44:09 +0200
committerHarald Welte <laforge@gnumonks.org>2010-07-29 21:44:09 +0200
commite376f9ebdd41ea7835e97a7c30bd2436098f4604 (patch)
tree17132db27e4ff9ff20d399b3258e3941053fd32f /gsm-receiver/src/lib/decoder
parentfaf622a63bc158e50007a7b93bd418398517ec3a (diff)
Use link-local multicast address 224.0.0.1 instead of 127.0.0.1 for gsmtap
This means that you will no longer see the packets on "lo" but on the interface that has configured the default route (typically eth0). At the same time, this fixes the bug where only every second GSMTAP message could be seen in wireshark due to the generation of ICMP error messages
Diffstat (limited to 'gsm-receiver/src/lib/decoder')
-rw-r--r--gsm-receiver/src/lib/decoder/gsmstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsm-receiver/src/lib/decoder/gsmstack.c b/gsm-receiver/src/lib/decoder/gsmstack.c
index c1d967e..3d09c13 100644
--- a/gsm-receiver/src/lib/decoder/gsmstack.c
+++ b/gsm-receiver/src/lib/decoder/gsmstack.c
@@ -201,7 +201,7 @@ GS_new(GS_CTX *ctx)
sin.sin_family = AF_INET;
sin.sin_port = htons(GSMTAP_UDP_PORT);
- inet_aton("127.0.0.1", &sin.sin_addr);
+ inet_aton("224.0.0.1", &sin.sin_addr);
memset(ctx, 0, sizeof *ctx);
interleave_init(&ctx->interleave_ctx, 456, 114);
personal git repositories of Harald Welte. Your mileage may vary