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:
Holger Hans Peter Freyther 2010-04-18 03:07:22 +08:00
parent 317ae72c47
commit 7fc9a27bf1
1 changed files with 1 additions and 0 deletions

View File

@ -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);