laforge has submitted this change. ( 
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(-)

Approvals:
  osmith: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




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 https://gerrit.osmocom.org/c/osmo-uecups/+/42500?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-uecups
Gerrit-Branch: master
Gerrit-Change-Id: I5883a0e399e47b6e169c5adf8446e9d2aeecbe68
Gerrit-Change-Number: 42500
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>

Reply via email to