aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_udp.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-03-02 23:08:43 +0100
committerHarald Welte <laforge@osmocom.org>2021-03-04 13:35:14 +0100
commit7d0daac1ce16c4f9e1d77496cbcd729dece119c7 (patch)
tree41dec3f4841c8554878c965a1c710eb61e590b97 /src/gb/gprs_ns2_udp.c
parenta39b2592a0aeb80c5ff7d4d895c1632892c31c9b (diff)
gprs_ns2: Pass peer/remote sockaddr argument to ns2_create_vc()
This is a preparation towards auto-creating SNS NS-VCs in SGSN role Related: OS#3373 Change-Id: Idf92712079cd9b7e4ff2cf8df314b372d63e6e52
Diffstat (limited to 'src/gb/gprs_ns2_udp.c')
-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 30816802..5765c773 100644
--- a/src/gb/gprs_ns2_udp.c
+++ b/src/gb/gprs_ns2_udp.c
@@ -231,7 +231,7 @@ static int handle_nsip_read(struct osmo_fd *bfd)
nsvc = gprs_ns2_nsvc_by_sockaddr_bind(bind, &saddr);
if (!nsvc) {
/* VC not found */
- rc = ns2_create_vc(bind, msg, "newconnection", &reject, &nsvc);
+ rc = ns2_create_vc(bind, msg, &saddr, "newconnection", &reject, &nsvc);
switch (rc) {
case NS2_CS_FOUND:
break;