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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/4823
to look at the new patch set (#2).
gtp-kernel: Add device nime in pdp_debug() log statements
Change-Id: Iad0e7a9fa48fcddc31b8d555244581efdbd61b4e
---
M ggsn/gtp-kernel.c
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/23/4823/2
diff --git a/ggsn/gtp-kernel.c b/ggsn/gtp-kernel.c
index 98d524b..4564d9a 100644
--- a/ggsn/gtp-kernel.c
+++ b/ggsn/gtp-kernel.c
@@ -35,7 +35,7 @@
#include "gtp-kernel.h"
-static void pdp_debug(const char *prefix, struct pdp_t *pdp)
+static void pdp_debug(const char *prefix, const char *devname, struct pdp_t *pdp)
{
struct in46_addr ia46;
struct in_addr ia;
@@ -43,7 +43,8 @@
in46a_from_eua(&pdp->eua, &ia46);
gsna2in_addr(&ia, &pdp->gsnrc);
- LOGPDPX(DGGSN, LOGL_DEBUG, pdp, "%s v%u TEID %"PRIu64"x EUA=%s SGSN=%s\n", prefix, pdp->version,
+ LOGPDPX(DGGSN, LOGL_DEBUG, pdp, "%s %s v%u TEID %"PRIx64" EUA=%s SGSN=%s\n", prefix,
+ devname, pdp->version,
pdp->version == 0 ? pdp_gettid(pdp->imsi, pdp->nsapi) : pdp->teid_gn,
in46a_ntoa(&ia46), inet_ntoa(ia));
}
@@ -139,7 +140,7 @@
struct gtp_tunnel *t;
int ret;
- pdp_debug(__func__, pdp);
+ pdp_debug(__func__, devname, pdp);
t = gtp_tunnel_alloc();
if (t == NULL)
@@ -173,7 +174,7 @@
struct gtp_tunnel *t;
int ret;
- pdp_debug(__func__, pdp);
+ pdp_debug(__func__, devname, pdp);
t = gtp_tunnel_alloc();
if (t == NULL)
--
To view, visit https://gerrit.osmocom.org/4823
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iad0e7a9fa48fcddc31b8d555244581efdbd61b4e
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder