gtp: constify pointer arg
Change-Id: Ib5b5a8b64247202a2538c2ff8f8601981ccda822
This commit is contained in:
parent
641206ad5e
commit
2eed6ec5ec
|
@ -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,
|
static int gtp_notification(struct gsn_t *gsn, uint8_t version,
|
||||||
union gtp_packet *packet, int len,
|
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);
|
uint8_t ver = GTPHDR_F_GET_VER(packet->flags);
|
||||||
|
|
Loading…
Reference in New Issue