arduino-esp32/libraries/NetBIOS
Earle F. Philhower, III 6b223391c1
fix(netbios): Return interface address for NetBIOS name lookup (#9885)
* fix(netbios): Return interface address for NetBIOS

When NetBIOS returns a match, it should return the IP address of the device.
Presently, however, it returns the address of multicast IP for the subnet
since the incoming NBNS packet's UDP target will be multicast
(i.e. 192.168.1.255).

Iterate over the active network interfaces and check netmasks to determine
where the packet came from, and return the appropriate IP interface address
instead.

* ci(pre-commit): Apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2024-06-18 12:35:56 +03:00
..
examples/ESP_NBNST ci(refactor): Refactor workflows and skip files (#9696) 2024-06-05 15:19:25 +03:00
src fix(netbios): Return interface address for NetBIOS name lookup (#9885) 2024-06-18 12:35:56 +03:00
keywords.txt Update IDF to aaf1239 (#1539) 2018-06-27 09:01:06 +02:00
library.properties Bump library versions to 2.0.0 (#5182) 2021-05-18 14:00:49 +03:00