diff options
author | lukehamburg <luke.hamburg@gmail.com> | 2017-02-09 09:20:16 -0500 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-02-10 15:57:55 -0200 |
commit | 5eb5856ac212ac30f5174e05cba68af8c88631e1 (patch) | |
tree | efd7097b8be2dd98922a83a583da7abd2c6abfc4 | |
parent | f800218095632062ab2a2e3f4f2d55922fbf606d (diff) | |
download | pfsense-5eb5856ac212ac30f5174e05cba68af8c88631e1.zip pfsense-5eb5856ac212ac30f5174e05cba68af8c88631e1.tar.gz |
5th try
- change $do_ping default value to 'true' (which emulates the previous default behavior) to avoid any unexpected results
(cherry picked from commit 20cf8d8e20fa28c16e86ce0d91e57e4d78427d26)
-rw-r--r-- | src/etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index 6e46e4b..aac095c 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -1849,7 +1849,7 @@ function alias_expand_urltable($name) { } /* obtain MAC address given an IP address by looking at the ARP/NDP table */ -function arp_get_mac_by_ip($ip, $do_ping = false) { +function arp_get_mac_by_ip($ip, $do_ping = true) { unset($macaddr); $retval = 1; switch (is_ipaddr($ip)) { |