aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/adj/adj_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/adj/adj_internal.h')
-rw-r--r--src/vnet/adj/adj_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/adj/adj_internal.h b/src/vnet/adj/adj_internal.h
index 2053c69342a..adb7a32375d 100644
--- a/src/vnet/adj/adj_internal.h
+++ b/src/vnet/adj/adj_internal.h
@@ -98,7 +98,7 @@ adj_proto_to_46 (fib_protocol_t proto)
* Get a pointer to an adjacency object from its index
*/
static inline adj_index_t
-adj_get_index (ip_adjacency_t *adj)
+adj_get_index (const ip_adjacency_t *adj)
{
return (adj - adj_pool);
}