aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-05-05 17:51:19 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2021-05-05 17:51:34 +0200
commit2eed6ec5ec0bcc811edbbaa8e2ae494b6f33d5e0 (patch)
treea8f1e105a8528f54d7936e602d8e790f3dba2010
parent641206ad5e4e9f9ea1a7a167d72e54a64d83d3c4 (diff)
gtp: constify pointer argHEADmaster
-rw-r--r--gtp/gtp.c2
1 files changed, 1 insertions, 1 deletions
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_resp(uint8_t version, struct gsn_t *gsn, struct pdp_t *pdp,
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);