From e376f9ebdd41ea7835e97a7c30bd2436098f4604 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 29 Jul 2010 21:44:09 +0200 Subject: 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 --- gsm-receiver/src/lib/decoder/gsmstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsm-receiver/src') 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); -- cgit v1.2.3