|
|
|
@ -162,7 +162,7 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="접속자 IP 확인", value="/ipInfo.do")
|
|
|
|
|
public ModelAndView ipInfo(HttpServletRequest hreq) {
|
|
|
|
|
|
|
|
|
|
String flag = hreq.getParameter("flag");
|
|
|
|
|
String remoteAddr = CmmnUtil.getClientIpAddr(hreq);
|
|
|
|
|
|
|
|
|
|
String net = "";
|
|
|
|
@ -171,7 +171,6 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
String[] SGG_NET = {"211.119.124."};
|
|
|
|
|
|
|
|
|
|
if(remoteAddr.equals(LOCAL[0]) || remoteAddr.equals(LOCAL[1])) {
|
|
|
|
|
String flag = hreq.getParameter("flag");
|
|
|
|
|
if(flag != null && !flag.equals("")){
|
|
|
|
|
net = flag;
|
|
|
|
|
} else {
|
|
|
|
@ -188,6 +187,9 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
|
net = "intra";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(flag != null && !flag.equals("")){
|
|
|
|
|
net = flag;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
net = "inter";
|
|
|
|
|
}
|
|
|
|
|