summaryrefslogtreecommitdiff
path: root/ldpd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-04-28 08:33:24 +0300
committerGitHub <noreply@github.com>2021-04-28 08:33:24 +0300
commita1fc0cb01e2ae004cf178c2f2eb712a0fb2c86d9 (patch)
tree1b9b7143d953f427d8b16b68a8b8dcb1bc5b1650 /ldpd
parentd8c3daca19add1c3cedea05e9a30fb33f2b4e9ad (diff)
parent3eff8e2f44b0810074e88ff2bc885f51b5f787d6 (diff)
Merge pull request #8471 from idryzhov/cleanup-num-named-lists
*: cleanup number-named access-lists and prefix-lists
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 92e329c389..fd51625bbd 100644
--- a/ldpd/ldp_zebra.c
+++ b/ldpd/ldp_zebra.c
@@ -679,9 +679,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 7e70aa3a44..cb7ac85d96 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 {