From b49e6f5a65d437cb7e7bdefe8397e0f550496012 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 25 Aug 2009 16:42:14 +0200 Subject: Temporary OSPFv3 development commit --- filter/filter.h | 1 + filter/trie.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'filter') 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); -- cgit v1.2.3