diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-11 18:40:45 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-11 18:40:45 +0200 |
commit | 2b7d4658fb603c910f77feceea85392ed0f31e51 (patch) | |
tree | e66bbe1d640b0155286523fda550a35091c67fdc /openbsc/src | |
parent | bba902db196e4e947b786022e9c19aa3f1ae195e (diff) |
[gprs] NS: update the remote peer IP addr/port on NS RESET
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/gprs/gprs_ns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gprs/gprs_ns.c b/openbsc/src/gprs/gprs_ns.c index 9c0c4ec9..745a0b57 100644 --- a/openbsc/src/gprs/gprs_ns.c +++ b/openbsc/src/gprs/gprs_ns.c @@ -511,8 +511,9 @@ int gprs_ns_rcvmsg(struct gprs_ns_inst *nsi, struct msgb *msg, LOGP(DNS, LOGL_INFO, "Creating NS-VC for BSS at %s:%u\n", inet_ntoa(saddr->sin_addr), ntohs(saddr->sin_port)); nsvc = nsvc_create(nsi, 0xffff); - nsvc->ip.bts_addr = *saddr; } + /* Update the remote peer IP address/port */ + nsvc->ip.bts_addr = *saddr; } else msgb_nsei(msg) = nsvc->nsei; |