aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/ipstack/ipstack.go2
-rwxr-xr-xvhostbin3105176 -> 3095650 bytes
-rwxr-xr-xvrouterbin3105176 -> 3095650 bytes
3 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ipstack/ipstack.go b/pkg/ipstack/ipstack.go
index 61b33b0..2ab2a5f 100644
--- a/pkg/ipstack/ipstack.go
+++ b/pkg/ipstack/ipstack.go
@@ -887,7 +887,7 @@ func handleRIP(src *Interface, dest *Neighbor, message []byte, hdr *ipv4header.I
if entry.cost == INFINITY {
// remove after GC time if the COST is still INFINITY
go func() {
- time.Sleep(12 * time.Second)
+ time.Sleep(time.Second * time.Duration(MAX_TIMEOUT))
if routingTable[destination].Cost == INFINITY {
delete(routingTable, destination)
mu.Lock()
diff --git a/vhost b/vhost
index f9b9407..7ca732c 100755
--- a/vhost
+++ b/vhost
Binary files differ
diff --git a/vrouter b/vrouter
index b5f089b..7b61c7e 100755
--- a/vrouter
+++ b/vrouter
Binary files differ