Change in osmo-ggsn[master]: gtp: constify pointer arg

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/.

pespin gerrit-no-reply at lists.osmocom.org
Wed May 5 15:52:07 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/24148 )


Change subject: gtp: constify pointer arg
......................................................................

gtp: constify pointer arg

Change-Id: Ib5b5a8b64247202a2538c2ff8f8601981ccda822
---
M gtp/gtp.c
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/gtp/gtp.c b/gtp/gtp.c
index 547241d..caee5a6 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -773,7 +773,7 @@
 
 static int gtp_notification(struct gsn_t *gsn, uint8_t version,
 		     union gtp_packet *packet, int len,
-		     struct sockaddr_in *peer, int fd, uint16_t seq)
+		     const struct sockaddr_in *peer, int fd, uint16_t seq)
 {
 
 	uint8_t ver = GTPHDR_F_GET_VER(packet->flags);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/24148
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ib5b5a8b64247202a2538c2ff8f8601981ccda822
Gerrit-Change-Number: 24148
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210505/4dccda99/attachment.htm>


More information about the gerrit-log mailing list