summaryrefslogtreecommitdiffhomepage
path: root/src/receive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/receive.c')
-rw-r--r--src/receive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c
index 7f9d1d7..080f6ba 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -329,7 +329,7 @@ static void packet_consume_data_done(struct sk_buff *skb, struct endpoint *endpo
timers_data_received(peer);
- routed_peer = routing_table_lookup_src(&peer->device->peer_routing_table, skb);
+ routed_peer = allowedips_lookup_src(&peer->device->peer_allowedips, skb);
peer_put(routed_peer); /* We don't need the extra reference. */
if (unlikely(routed_peer != peer))