diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-14 17:15:35 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-04-14 17:18:13 +0300 |
| commit | 3eff8e2f44b0810074e88ff2bc885f51b5f787d6 (patch) | |
| tree | 9ae274bb0773022e148bf64ba7b3848998796a68 /lib/filter.h | |
| parent | 8a2ec9102f82c8f6f2bddec4a244ec9666d4624f (diff) | |
*: cleanup number-named access-lists and prefix-lists
A long time ago there was a difference between number-named and string-named
access/prefix-lists. Currently we always treat the name as a string and
there is no need for a separate list for number-named lists.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/filter.h')
| -rw-r--r-- | lib/filter.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/filter.h b/lib/filter.h index ade68a4567..941fabd38b 100644 --- a/lib/filter.h +++ b/lib/filter.h @@ -50,8 +50,6 @@ extern "C" { /* Filter type is made by `permit', `deny' and `dynamic'. */ enum filter_type { FILTER_DENY, FILTER_PERMIT, FILTER_DYNAMIC }; -enum access_type { ACCESS_TYPE_STRING, ACCESS_TYPE_NUMBER }; - struct filter_cisco { /* Cisco access-list */ int extended; @@ -103,8 +101,6 @@ struct access_list { struct access_master *master; - enum access_type type; - struct access_list *next; struct access_list *prev; @@ -120,9 +116,6 @@ struct access_list_list { /* Master structure of access_list. */ struct access_master { - /* List of access_list which name is number. */ - struct access_list_list num; - /* List of access_list which name is string. */ struct access_list_list str; |
