Showing
1 changed file
with
1 additions
and
1 deletions
@@ -42,7 +42,7 @@ public class HostInfoServiceImpl implements IHostInfoService { | @@ -42,7 +42,7 @@ public class HostInfoServiceImpl implements IHostInfoService { | ||
42 | public String getHostInfoJson(String sourceIp ,String content){ | 42 | public String getHostInfoJson(String sourceIp ,String content){ |
43 | logger.debug("begin getHostInfoJson"); | 43 | logger.debug("begin getHostInfoJson"); |
44 | String backJson=""; | 44 | String backJson=""; |
45 | - if(StringUtils.isNotBlank(content)&&sourceIp.startsWith("172")){ | 45 | + if(StringUtils.isNotBlank(content)&&sourceIp.startsWith("127")){ |
46 | JSONObject jo=JSON.parseObject(content); | 46 | JSONObject jo=JSON.parseObject(content); |
47 | List<Integer> cloudTypeList=new ArrayList<Integer>(); | 47 | List<Integer> cloudTypeList=new ArrayList<Integer>(); |
48 | List<String> tagsList=new ArrayList<String>(); | 48 | List<String> tagsList=new ArrayList<String>(); |
-
Please register or login to post a comment