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 {