mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-21 04:47:49 +08:00
修复在docker中使用,平台信息IP无法显示主机IP的问题
配置sip,showip用来显示主机IP
This commit is contained in:
parent
cf5ca3afb9
commit
d1af677fff
@ -82,7 +82,9 @@ public class SipLayer implements CommandLineRunner {
|
||||
monitorIps.add(sipConfig.getIp());
|
||||
}
|
||||
}
|
||||
sipConfig.setShowIp(String.join(",", monitorIps));
|
||||
if (ObjectUtils.isEmpty(sipConfig.getShowIp())){
|
||||
sipConfig.setShowIp(String.join(",", monitorIps));
|
||||
}
|
||||
SipFactory.getInstance().setPathName("gov.nist");
|
||||
if (monitorIps.size() > 0) {
|
||||
for (String monitorIp : monitorIps) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user