[MERGED] osmo-ggsn[master]: ggsn.c: Print version of unhandled ip packet

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Dec 5 14:11:10 UTC 2017


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 <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list