summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukehamburg <luke.hamburg@gmail.com>2017-02-09 09:20:16 -0500
committerRenato Botelho <renato@netgate.com>2017-02-10 15:57:55 -0200
commit5eb5856ac212ac30f5174e05cba68af8c88631e1 (patch)
treeefd7097b8be2dd98922a83a583da7abd2c6abfc4
parentf800218095632062ab2a2e3f4f2d55922fbf606d (diff)
downloadpfsense-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.inc2
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)) {
OpenPOWER on IntegriCloud