summaryrefslogtreecommitdiffstats
path: root/ldpd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-04-14 16:15:35 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-04-14 16:18:13 +0200
commit3eff8e2f44b0810074e88ff2bc885f51b5f787d6 (patch)
tree9ae274bb0773022e148bf64ba7b3848998796a68 /ldpd
parentMerge pull request #8320 from idryzhov/prefix-list-seqnum (diff)
downloadfrr-3eff8e2f44b0810074e88ff2bc885f51b5f787d6.tar.xz
frr-3eff8e2f44b0810074e88ff2bc885f51b5f787d6.zip
*: 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 'ldpd')
-rw-r--r--ldpd/ldp_zebra.c5
-rw-r--r--ldpd/ldpd.h1
2 files changed, 2 insertions, 4 deletions
diff --git a/ldpd/ldp_zebra.c b/ldpd/ldp_zebra.c
index ea86c2dc0..7a0e097db 100644
--- a/ldpd/ldp_zebra.c
+++ b/ldpd/ldp_zebra.c
@@ -650,9 +650,8 @@ ldp_zebra_filter_update(struct access_list *access)
if (access && access->name[0] != '\0') {
strlcpy(laccess.name, access->name, sizeof(laccess.name));
- laccess.type = access->type;
- debug_evt("%s ACL update filter name %s type %d", __func__,
- access->name, access->type);
+ debug_evt("%s ACL update filter name %s", __func__,
+ access->name);
main_imsg_compose_both(IMSG_FILTER_UPDATE, &laccess,
sizeof(laccess));
diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h
index 8fdc16fc7..df29d405e 100644
--- a/ldpd/ldpd.h
+++ b/ldpd/ldpd.h
@@ -174,7 +174,6 @@ struct ldpd_init {
struct ldp_access {
char name[ACL_NAMSIZ];
- enum access_type type;
};
union ldpd_addr {