Commit 787d2e65 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Rename finalise_filters to finalise_config.

parent 73b4d3f4
...@@ -252,9 +252,9 @@ main(int argc, char **argv) ...@@ -252,9 +252,9 @@ main(int argc, char **argv)
} }
} }
rc = finalise_filters(); rc = finalise_config();
if(rc < 0) { if(rc < 0) {
fprintf(stderr, "Couldn't finalise filters.\n"); fprintf(stderr, "Couldn't finalise configuration.\n");
exit(1); exit(1);
} }
......
...@@ -538,7 +538,7 @@ redistribute_filter(const unsigned char *prefix, unsigned short plen, ...@@ -538,7 +538,7 @@ redistribute_filter(const unsigned char *prefix, unsigned short plen,
} }
int int
finalise_filters() finalise_config()
{ {
struct filter *filter = calloc(1, sizeof(struct filter)); struct filter *filter = calloc(1, sizeof(struct filter));
if(filter == NULL) if(filter == NULL)
......
...@@ -45,4 +45,4 @@ int output_filter(const unsigned char *id, const unsigned char *prefix, ...@@ -45,4 +45,4 @@ int output_filter(const unsigned char *id, const unsigned char *prefix,
unsigned short plen, unsigned int ifindex); unsigned short plen, unsigned int ifindex);
int redistribute_filter(const unsigned char *prefix, unsigned short plen, int redistribute_filter(const unsigned char *prefix, unsigned short plen,
unsigned int ifindex, int proto); unsigned int ifindex, int proto);
int finalise_filters(void); int finalise_config(void);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment