Commit 1b502ea9 authored by 神楽坂玲奈's avatar 神楽坂玲奈

test

parent fb72d97a
...@@ -11,6 +11,7 @@ export class RouteWriter { ...@@ -11,6 +11,7 @@ export class RouteWriter {
} }
static set(toId: number, viaId: number) { static set(toId: number, viaId: number) {
console.log(toId, viaId);
const to = routers.find(r => r.id == toId); const to = routers.find(r => r.id == toId);
const via = routers.find(r => r.id == viaId); const via = routers.find(r => r.id == viaId);
for (const address of [to.address, ...to.subnets]) { for (const address of [to.address, ...to.subnets]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment