gtp: constify pointer arg

Change-Id: Ib5b5a8b64247202a2538c2ff8f8601981ccda822
This commit is contained in:
Pau Espin 2021-05-05 17:51:19 +02:00
parent 641206ad5e
commit 2eed6ec5ec
1 changed files with 1 additions and 1 deletions

View File

@ -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);