Pau Espin Pedrol has submitted this change and it was merged.

Change subject: ggsn.c: Print version of unhandled ip packet
......................................................................


ggsn.c: Print version of unhandled ip packet

Change-Id: I7e226a12b074c96c572f90e3aaf62716d0cd47c5
---
M ggsn/ggsn.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 0beaef7..763a2c5 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -653,7 +653,7 @@
                dst.v6 = ip6h->ip6_dst;
                pool = apn->v6.pool;
        } else {
-               LOGP(DTUN, LOGL_NOTICE, "non-IPv packet received from tun\n");
+               LOGP(DTUN, LOGL_NOTICE, "non-IPv%u packet received from tun\n", 
iph->version);
                return -1;
        }
 

-- 
To view, visit https://gerrit.osmocom.org/5160
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e226a12b074c96c572f90e3aaf62716d0cd47c5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>

Reply via email to