constify local var in upf_gtp.c

Related: SYS#5599
Change-Id: I08085a6e777175b97b9c32d4c302c9863c6f6f59
This commit is contained in:
Neels Hofmeyr 2022-07-20 16:31:22 +02:00
parent 77cf6ccf21
commit 5b87376ba5
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ static int dev_resolve_ifidx(struct upf_gtp_dev *dev)
int upf_gtp_dev_open(const char *name, bool create_gtp_dev, const char *local_addr, bool listen_for_gtpv0, bool sgsn_mode)
{
struct osmo_sockaddr any = {
const struct osmo_sockaddr any = {
.u.sin = {
.sin_family = AF_INET,
.sin_port = 0,