summaryrefslogtreecommitdiffstats
path: root/lib/table.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-05-22 12:41:01 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 17:33:30 +0200
commitd3830f1fa453db6213476acdc77467a737fabb50 (patch)
treef5c2ac6e4e3a42e79654294e922522bf5493d781 /lib/table.h
parentsockunion: add accessors for sockunion address (diff)
downloadfrr-d3830f1fa453db6213476acdc77467a737fabb50.tar.xz
frr-d3830f1fa453db6213476acdc77467a737fabb50.zip
route table: constify some APIs
Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 3293bc280f15d8e3c04e0bf9b0a8d54d342a87a9)
Diffstat (limited to 'lib/table.h')
-rw-r--r--lib/table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/table.h b/lib/table.h
index ab7eb68ce..2ffd79b53 100644
--- a/lib/table.h
+++ b/lib/table.h
@@ -148,9 +148,9 @@ extern struct route_node *route_next (struct route_node *);
extern struct route_node *route_next_until (struct route_node *,
struct route_node *);
extern struct route_node *route_node_get (struct route_table *const,
- struct prefix *);
+ const struct prefix *);
extern struct route_node *route_node_lookup (const struct route_table *,
- struct prefix *);
+ const struct prefix *);
extern struct route_node *route_lock_node (struct route_node *node);
extern struct route_node *route_node_match (const struct route_table *,
const struct prefix *);