From 45a8851e2ad85b1b09d07ba81d42b0afdc521f8d Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Mon, 19 Dec 2022 21:11:01 +0100 Subject: [PATCH] private routing method --- src/kernel/net/Routing.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kernel/net/Routing.hx b/src/kernel/net/Routing.hx index c003376..59dfdb6 100644 --- a/src/kernel/net/Routing.hx +++ b/src/kernel/net/Routing.hx @@ -74,7 +74,8 @@ class Routing { /** Handle incomming packages that involve route discovery. **/ - public function handleRoutePackage(pack:Package, interf:INetworkInterface):Void { + @:allow(kernel.net.Net) + private function handleRoutePackage(pack:Package, interf:INetworkInterface):Void { addPossibleRoute(pack.fromID,interf,0,pack.fromID); var shouldRespond: Bool = switch pack.type {