From ab5d2bd4c26f2a49ab0980d0549edb83d1b00e95 Mon Sep 17 00:00:00 2001 From: Juliano Fischer Naves Date: Thu, 5 May 2016 17:50:53 -0400 Subject: [PATCH] fix for issue 1 --- routing/DecisionEngineRouter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/routing/DecisionEngineRouter.java b/routing/DecisionEngineRouter.java index 03fc6d2..b987bc5 100644 --- a/routing/DecisionEngineRouter.java +++ b/routing/DecisionEngineRouter.java @@ -146,6 +146,7 @@ public boolean createNewMessage(Message m) if(m.getId().equals("M14")) System.out.println("Host: " + getHost() + "Creating M14"); makeRoomForNewMessage(m.getSize()); + m.setTtl(this.msgTtl); addToMessages(m, true); findConnectionsForNewMessage(m, getHost());