made Routing a static class
This commit is contained in:
@@ -9,7 +9,7 @@ using tink.CoreApi;
|
||||
class Net extends CLIAppBase {
|
||||
public function new() {
|
||||
registerSyncSubcommand("route", (args)->{
|
||||
var routes = Routing.instance.getRouteTable();
|
||||
var routes = Routing.getRouteTable();
|
||||
|
||||
for(k => v in routes) {
|
||||
handle.writeLine('${k} => ${v.interf.name()}(${v.cost})');
|
||||
|
||||
Reference in New Issue
Block a user