From 13d407043eda87146c213437acf889ee7ce4c8a7 Mon Sep 17 00:00:00 2001 From: crusader Date: Sun, 18 Mar 2018 20:46:02 +0900 Subject: [PATCH] ing --- .../loafle/overflow/module/discovery/model/Host.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/loafle/overflow/module/discovery/model/Host.java b/src/main/java/com/loafle/overflow/module/discovery/model/Host.java index d4196af..2d5b7f2 100644 --- a/src/main/java/com/loafle/overflow/module/discovery/model/Host.java +++ b/src/main/java/com/loafle/overflow/module/discovery/model/Host.java @@ -8,7 +8,7 @@ import java.util.Date; public class Host { private long id; - private long ip; + private String ip; private long mac; private String os; private Date discoveredDate; @@ -17,11 +17,6 @@ public class Host { public Host(){} - public Host(long ip, long mac){ - this.ip = ip; - this.mac = mac; - } - public long getId() { return id; } @@ -30,11 +25,11 @@ public class Host { this.id = id; } - public long getIp() { + public String getIp() { return ip; } - public void setIp(long ip) { + public void setIp(String ip) { this.ip = ip; }