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
Review at https://gerrit.osmocom.org/5160
ggsn.c: Print version of unhandled ip packet
Change-Id: I7e226a12b074c96c572f90e3aaf62716d0cd47c5
---
M ggsn/ggsn.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/60/5160/1
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: newchange
Gerrit-Change-Id: I7e226a12b074c96c572f90e3aaf62716d0cd47c5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>