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.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/17765 )
Change subject: sgsnemu: Rename sgsnemu's libgtp cb_conf
......................................................................
sgsnemu: Rename sgsnemu's libgtp cb_conf
It makes it easier to understand where the function is called.
Change-Id: Ibf32b416c3247d1415aa9c1a88755076dcd606f4
---
M sgsnemu/sgsnemu.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/65/17765/1
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index 679f3c2..a51145a 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1568,7 +1568,7 @@
return 0;
}
-static int conf(int type, int cause, struct pdp_t *pdp, void *cbp)
+static int _gtp_cb_conf(int type, int cause, struct pdp_t *pdp, void *cbp)
{
/* if (cause < 0) return 0; Some error occurred. We don't care */
switch (type) {
@@ -1642,7 +1642,7 @@
maxfd = gsn->fd1u;
gtp_set_cb_delete_context(gsn, delete_context);
- gtp_set_cb_conf(gsn, conf);
+ gtp_set_cb_conf(gsn, _gtp_cb_conf);
if (options.createif)
gtp_set_cb_data_ind(gsn, encaps_tun);
else
--
To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/17765
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: Ibf32b416c3247d1415aa9c1a88755076dcd606f4
Gerrit-Change-Number: 17765
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/20200409/d44231bc/attachment.htm>