neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-upf/+/28708 )
Change subject: constify local var in upf_gtp.c ......................................................................
constify local var in upf_gtp.c
Related: SYS#5599 Change-Id: I08085a6e777175b97b9c32d4c302c9863c6f6f59 --- M src/osmo-upf/upf_gtp.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved fixeria: Looks good to me, but someone else must approve
diff --git a/src/osmo-upf/upf_gtp.c b/src/osmo-upf/upf_gtp.c index 2c8f89f..4a430cb 100644 --- a/src/osmo-upf/upf_gtp.c +++ b/src/osmo-upf/upf_gtp.c @@ -160,7 +160,7 @@
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,
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.