mirror of
https://gitee.com/openharmony/third_party_cups
synced 2024-11-26 19:40:32 +00:00
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:
parent
d506ae7320
commit
6c63990be6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user