Trunking White List, Private and Data Calls;

This commit is contained in:
lwvmobile
2022-12-21 21:20:57 -05:00
parent 826c99d563
commit 49f81da4df
7 changed files with 94 additions and 3 deletions

View File

@@ -255,6 +255,10 @@ void edacs(dsd_opts * opts, dsd_state * state)
char mode[8]; //allow, block, digital enc
//if we are using allow/whitelist mode, then write 'B' to mode for block
//comparison below will look for an 'A' to write to mode if it is allowed
if (opts->trunk_use_allow_list == 1) sprintf (mode, "%s", "B");
for (int i = 0; i < state->group_tally; i++)
{
if (state->group_array[i].groupNumber == group)
@@ -380,6 +384,10 @@ void edacs(dsd_opts * opts, dsd_state * state)
char mode[8]; //allow, block, digital enc
//if we are using allow/whitelist mode, then write 'B' to mode for block
//comparison below will look for an 'A' to write to mode if it is allowed
if (opts->trunk_use_allow_list == 1) sprintf (mode, "%s", "B");
for (int i = 0; i < state->group_tally; i++)
{
if (state->group_array[i].groupNumber == afs)