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/.
Max gerrit-no-reply at lists.osmocom.orgHello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/5195
to look at the new patch set (#2).
Log APN and tun names for packets
Change-Id: I6f7ce33f6585b2b78e2b8a5c0f7111f0316d6ddd
---
M ggsn/ggsn.c
1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/95/5195/2
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 763a2c5..f6a135a 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -661,12 +661,13 @@
if (!pool)
return 0;
- DEBUGP(DTUN, "Received packet from tun!\n");
+ DEBUGP(DTUN, "Received packet APN(%s) from tun %s", apn->cfg.name, tun->devname);
if (ippool_getip(pool, &ipm, &dst)) {
- DEBUGP(DTUN, "Received packet with no PDP contex!!\n");
+ DEBUGPC(DTUN, " with no PDP contex!!\n");
return 0;
}
+ DEBUGPC(DTUN, "\n");
if (ipm->peer) /* Check if a peer protocol is defined */
gtp_data_req(apn->ggsn->gsn, (struct pdp_t *)ipm->peer, pack, len);
@@ -689,7 +690,7 @@
OSMO_ASSERT(tun);
OSMO_ASSERT(apn);
- LOGPPDP(LOGL_DEBUG, pdp, "Packet received: forwarding to tun\n");
+ LOGPPDP(LOGL_DEBUG, pdp, "Packet received APN(%s): forwarding to tun %s\n", apn->cfg.name, tun->devname);
switch (iph->version) {
case 6:
--
To view, visit https://gerrit.osmocom.org/5195
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6f7ce33f6585b2b78e2b8a5c0f7111f0316d6ddd
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder