X-Git-Url: https://git.sommitrealweird.co.uk/quagga-debian.git/blobdiff_plain/6d99eb2938e976229cb50d848a1bc491532b54f9..refs/heads/master:/ospfd/ospf_zebra.c?ds=sidebyside diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 60d9852..95d2afe 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c @@ -1069,7 +1069,7 @@ ospf_distribute_list_update (struct ospf *ospf, uintptr_t type) /* If access-list is updated, apply some check. */ static void -ospf_filter_update (struct access_list *access) +ospf_filter_update (const char *name) { struct ospf *ospf; int type; @@ -1112,7 +1112,7 @@ ospf_filter_update (struct access_list *access) /* Schedule distribute-list update timer. */ if (DISTRIBUTE_LIST (ospf, type) == NULL || - strcmp (DISTRIBUTE_NAME (ospf, type), access->name) == 0) + strcmp (DISTRIBUTE_NAME (ospf, type), name) == 0) ospf_distribute_list_update (ospf, type); } }