mgcp_trunk: use enum type for trunk type variable

The trunk_type variable in struct mgcp_trunk is specified as an int,
however there is an enum mgcp_trunk_type specified. Lets use the enum as
type for trunk_type instead of int.

Related: OS#2659
Change-Id: I8e8b0cf448cfe67ad3b7caab24f301708d2a515f
This commit is contained in:
Philipp Maier 2020-07-02 21:21:26 +02:00
parent bea56788cb
commit 04bbb9de3e
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ struct mgcp_trunk {
struct mgcp_config *cfg;
int trunk_nr;
int trunk_type;
enum mgcp_trunk_type trunk_type;
char *audio_fmtp_extra;
int audio_send_ptime;