private routing method

This commit is contained in:
Djeeberjr 2022-12-19 21:11:01 +01:00
parent a6ed7818da
commit 45a8851e2a

View File

@ -74,7 +74,8 @@ class Routing {
/** /**
Handle incomming packages that involve route discovery. 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); addPossibleRoute(pack.fromID,interf,0,pack.fromID);
var shouldRespond: Bool = switch pack.type { var shouldRespond: Bool = switch pack.type {