nat: Do not use 0/0 for mux/timeslot by default
0 is a valid timeslot and we should not use it... use a negative value to be save.
This commit is contained in:
parent
317ae72c47
commit
7fc9a27bf1
|
@ -99,6 +99,7 @@ int create_sccp_src_ref(struct bsc_connection *bsc, struct msgb *msg, struct bsc
|
|||
return -1;
|
||||
}
|
||||
|
||||
bsc_mgcp_clear(conn);
|
||||
llist_add_tail(&conn->list_entry, &bsc->nat->sccp_connections);
|
||||
counter_inc(bsc->cfg->stats.sccp.conn);
|
||||
counter_inc(bsc->cfg->nat->stats.sccp.conn);
|
||||
|
|
Loading…
Reference in New Issue