diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-08 10:14:44 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-08 10:14:44 +0800 |
commit | f85e93cd4dffbfaa76bb9e81ced9667fb373c25f (patch) | |
tree | 2e55317abbc61e6c135f8180e479f1e655f205f8 /openbsc/tests | |
parent | fdfaf9c519320c168632a1578908fe58bc9c3693 (diff) |
nat: Shorten the access-list struct and method names (still way too long)
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/bsc-nat/bsc_nat_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index d01700f83..dfb77bfdb 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -640,7 +640,7 @@ static void test_cr_filter() int i, res, contype; struct msgb *msg = msgb_alloc(4096, "test_cr_filter"); struct bsc_nat_parsed *parsed; - struct bsc_nat_access_list *nat_lst, *bsc_lst; + struct bsc_nat_acc_lst *nat_lst, *bsc_lst; struct bsc_nat *nat = bsc_nat_alloc(); struct bsc_connection *bsc = bsc_connection_alloc(nat); @@ -652,8 +652,8 @@ static void test_cr_filter() msgb_reset(msg); copy_to_msg(msg, cr_filter[i].data, cr_filter[i].length); - nat_lst = bsc_nat_accs_list_get(nat, "nat"); - bsc_lst = bsc_nat_accs_list_get(nat, "bsc"); + nat_lst = bsc_nat_acc_lst_get(nat, "nat"); + bsc_lst = bsc_nat_acc_lst_get(nat, "bsc"); bsc_parse_reg(nat_lst, &nat_lst->imsi_deny_re, &nat_lst->imsi_deny, cr_filter[i].nat_imsi_deny ? 1 : 0, |