pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-uecups/+/42500?usp=email )
Change subject: gtp_tunnel: Log Tx of ICMPv6 Router Solicitation ......................................................................
gtp_tunnel: Log Tx of ICMPv6 Router Solicitation
Change-Id: I5883a0e399e47b6e169c5adf8446e9d2aeecbe68 --- M daemon/gtp_tunnel.c 1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-uecups refs/changes/00/42500/1
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);