aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/strategies/probe_generator.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/strategies/probe_generator.c')
-rw-r--r--hicn-light/src/hicn/strategies/probe_generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/strategies/probe_generator.c b/hicn-light/src/hicn/strategies/probe_generator.c
index 439de0a12..bc141e518 100644
--- a/hicn-light/src/hicn/strategies/probe_generator.c
+++ b/hicn-light/src/hicn/strategies/probe_generator.c
@@ -78,7 +78,7 @@ int generate_probe(probe_generator_t *pg, const msgbuf_t *msgbuf,
const forwarder_t *forwarder, nexthop_t nexthop) {
msgbuf_pool_t *msgbuf_pool = forwarder_get_msgbuf_pool(forwarder);
connection_table_t *table = forwarder_get_connection_table(forwarder);
- const connection_t *conn = connection_table_get_by_id(table, nexthop);
+ connection_t *conn = connection_table_get_by_id(table, nexthop);
if (!conn) return -1;
msgbuf_t *probe;