[PATCH] osmo-ggsn[master]: Log GSN mode for unexpectde packets

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.org
Thu Jan 11 10:49:35 UTC 2018


Review at  https://gerrit.osmocom.org/5750

Log GSN mode for unexpectde packets

Change-Id: I36ee608182523709c795d8317095ae4fda4a7858
---
M gtp/gtp.c
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/50/5750/1

diff --git a/gtp/gtp.c b/gtp/gtp.c
index b36e0c6..2da9084 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -2785,7 +2785,7 @@
 			gsn->unexpect++;
 			GTP_LOGPKG(LOGL_ERROR, &peer, buffer,
 				    status,
-				    "Unexpected GTPv0 Signalling Message\n");
+				    "[GGSN] Unexpected GTPv0 Signalling Message\n");
 			continue;	/* Silently discard 29.60: 11.1.4 */
 		}
 
@@ -2796,7 +2796,7 @@
 			gsn->unexpect++;
 			GTP_LOGPKG(LOGL_ERROR, &peer, buffer,
 				    status,
-				    "Unexpected GTPv0 Signalling Message\n");
+				    "[SGSN] Unexpected GTPv0 Signalling Message\n");
 			continue;	/* Silently discard 29.60: 11.1.4 */
 		}
 
@@ -2960,7 +2960,7 @@
 			gsn->unexpect++;
 			GTP_LOGPKG(LOGL_ERROR, &peer, buffer,
 				    status,
-				    "Unexpected GTPv1 Signalling Message\n");
+				    "[GGSN] Unexpected GTPv1 Signalling Message\n");
 			continue;	/* Silently discard 29.60: 11.1.4 */
 		}
 
@@ -2971,7 +2971,7 @@
 			gsn->unexpect++;
 			GTP_LOGPKG(LOGL_ERROR, &peer, buffer,
 				    status,
-				    "Unexpected GTPv1 Signalling Message\n");
+				    "[SGSN] Unexpected GTPv1 Signalling Message\n");
 			continue;	/* Silently discard 29.60: 11.1.4 */
 		}
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I36ee608182523709c795d8317095ae4fda4a7858
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list