diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-25 16:42:14 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-08-25 16:42:14 +0200 |
commit | b49e6f5a65d437cb7e7bdefe8397e0f550496012 (patch) | |
tree | 21e0f77023119de17ea8ab6ab7871b1026db92e6 /filter | |
parent | c3226991a061415fa83b757cbff678111c586e58 (diff) |
Temporary OSPFv3 development commit
Diffstat (limited to 'filter')
-rw-r--r-- | filter/filter.h | 1 | ||||
-rw-r--r-- | filter/trie.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/filter/filter.h b/filter/filter.h index 2277f519..8e0d1793 100644 --- a/filter/filter.h +++ b/filter/filter.h @@ -86,6 +86,7 @@ int filter_same(struct filter *new, struct filter *old); int i_same(struct f_inst *f1, struct f_inst *f2); +void f_prefix_get_bounds(struct f_prefix *px, int *l, int *h); int val_compare(struct f_val v1, struct f_val v2); void val_print(struct f_val v); diff --git a/filter/trie.c b/filter/trie.c index ffb9b99f..2257c8b6 100644 --- a/filter/trie.c +++ b/filter/trie.c @@ -272,7 +272,7 @@ static int trie_node_print(struct f_trie_node *t, char *buf, int blen) { if (t == NULL) - return; + return 0; int old_blen = blen; int wb = 0; // bsnprintf(buf, blen, "%I/%d accept %I\n", t->addr, t->plen, t->accept); |