Modifying conflicts between WiFi and P2P IP addresses Singed-off-by:dongzhengkuan@huawei.com

Signed-off-by: 15549494042 <dongzhengkuan@huawei.com>
This commit is contained in:
15549494042 2024-02-01 20:51:05 +08:00
parent d506ae7320
commit 6c63990be6

View File

@ -94,7 +94,7 @@ index c4b34668..60b867a0 100644
- http = httpConnect2(monitor->hostname, monitor->port, NULL, AF_UNSPEC,
- monitor->encryption, 1, 0, NULL);
+ if (monitor->nic != NULL) {
+ http = httpConnect2(monitor->hostname, monitor->port, NULL, AF_UNSPEC,
+ http = httpConnect3(monitor->hostname, monitor->port, NULL, AF_UNSPEC,
+ monitor->encryption, 1, 0, NULL, monitor->nic);
+ } else {
+ http = httpConnect2(monitor->hostname, monitor->port, NULL, AF_UNSPEC,