laforge submitted this change.
gtp_tunnel: Log Tx of ICMPv6 Router Solicitation
Change-Id: I5883a0e399e47b6e169c5adf8446e9d2aeecbe68
---
M daemon/gtp_tunnel.c
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/daemon/gtp_tunnel.c b/daemon/gtp_tunnel.c
index fc99e4f..c115cd4 100644
--- a/daemon/gtp_tunnel.c
+++ b/daemon/gtp_tunnel.c
@@ -215,8 +215,12 @@
static int _gtp_tunnel_tx_icmpv6_rs(struct gtp_tunnel *t)
{
struct msgb *msg;
+ char ipbuf[INET6_ADDRSTRLEN];
int rc;
+ LOGT(t, LOGL_INFO, "Tx ICMPv6 Router Solicitation for %s\n",
+ osmo_sockaddr_ntop(&t->user_addr_ipv6_ll.u.sa, ipbuf));
+
OSMO_ASSERT(t->user_addr_type == GTP1U_EUA_TYPE_IPv6 ||
t->user_addr_type == GTP1U_EUA_TYPE_IPv4v6);
To view, visit change 42500. To unsubscribe, or for help writing mail filters, visit settings.