aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-10-11 21:42:11 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-10-12 15:54:21 +0200
commitd33512b997143b2354566a0df88d33ba096ec84d (patch)
treefd212b8e64057f8db488f086548f4dbd2df01871 /src/gb
parent125298f2b5484912d805c2d152a94341ddee3d69 (diff)
gprs_ns2: gprs_ns2_ip_vc_remote() the nsvc can be also const
Diffstat (limited to 'src/gb')
-rw-r--r--src/gb/gprs_ns2_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2_udp.c b/src/gb/gprs_ns2_udp.c
index a3e9da6b..d41c492d 100644
--- a/src/gb/gprs_ns2_udp.c
+++ b/src/gb/gprs_ns2_udp.c
@@ -413,7 +413,7 @@ const struct osmo_sockaddr *gprs_ns2_ip_vc_local(const struct gprs_ns2_vc *nsvc)
/*! Return the socket address of the remote peer of a NS-VC.
* \param[in] nsvc NS-VC whose remote peer we want to know
* \return address of the remote peer; NULL in case of error */
-const struct osmo_sockaddr *gprs_ns2_ip_vc_remote(struct gprs_ns2_vc *nsvc)
+const struct osmo_sockaddr *gprs_ns2_ip_vc_remote(const struct gprs_ns2_vc *nsvc)
{
struct priv_vc *priv;