pfsense/usr
Phil Davis 4f5967b9a8 diag_arp allow underscore in resolved host names
is_hostname() and is_domain() allow underscore in the names. So it is possible to have underscore in host names, for example in DHCP server static mapped entries I have some things like:
10.42.3.4 client-pc-01_LAN
10.42.3.5 client-pc-01_WIFI
These reverse-resolve fine - 10.42.3.4 becomes client-pc-01_LAN
But the preg_match here misses such names that have an underscore in them.
I noticed this when looking into forum post: https://forum.pfsense.org/index.php?topic=88956.0
2015-02-23 16:18:05 -03:00
..
local diag_arp allow underscore in resolved host names 2015-02-23 16:18:05 -03:00
sbin/pc-sysinstall
share