[GPRS] NS: Remove 'unknown_nsvc' from list of NS-VCs

This commit is contained in:
Harald Welte 2010-05-13 14:20:56 +02:00
parent dd1c83c52d
commit 60cc6acaff
1 changed files with 3 additions and 0 deletions

View File

@ -773,7 +773,10 @@ struct gprs_ns_inst *gprs_ns_instantiate(gprs_ns_cb_t *cb)
nsi->timeout[NS_TOUT_TNS_ALIVE] = 3; nsi->timeout[NS_TOUT_TNS_ALIVE] = 3;
nsi->timeout[NS_TOUT_TNS_ALIVE_RETRIES] = 10; nsi->timeout[NS_TOUT_TNS_ALIVE_RETRIES] = 10;
/* Create the dummy NSVC that we use for sending
* messages to non-existant/unknown NS-VC's */
nsi->unknown_nsvc = nsvc_create(nsi, 0xfffe); nsi->unknown_nsvc = nsvc_create(nsi, 0xfffe);
llist_del(&nsi->unknown_nsvc->list);
return nsi; return nsi;
} }