]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripng_route.c
*: make all route_map_rule_cmd const
[mirror_frr.git] / ripngd / ripng_route.c
index f66a0b95272b48fb3b85e579abf1f67c59cb3a84..ed9d77a3783de0f4e02b0c0c92178853d12e6e37 100644 (file)
@@ -30,6 +30,8 @@
 #include "ripngd/ripngd.h"
 #include "ripngd/ripng_route.h"
 
+DEFINE_MTYPE_STATIC(RIPNGD, RIPNG_AGGREGATE, "RIPng aggregate")
+
 static struct ripng_aggregate *ripng_aggregate_new(void)
 {
        struct ripng_aggregate *new;
@@ -86,7 +88,7 @@ void ripng_aggregate_decrement_list(struct agg_node *child, struct list *list)
 }
 
 /* RIPng routes treatment. */
-int ripng_aggregate_add(struct prefix *p)
+int ripng_aggregate_add(struct ripng *ripng, struct prefix *p)
 {
        struct agg_node *top;
        struct agg_node *rp;
@@ -124,7 +126,7 @@ int ripng_aggregate_add(struct prefix *p)
 }
 
 /* Delete RIPng static route. */
-int ripng_aggregate_delete(struct prefix *p)
+int ripng_aggregate_delete(struct ripng *ripng, struct prefix *p)
 {
        struct agg_node *top;
        struct agg_node *rp;