mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #3162 from phil-davis/staic
This commit is contained in:
commit
2fb0c0a71b
@ -632,7 +632,7 @@ if ($act == "delpool") {
|
||||
|
||||
if ($act == "del") {
|
||||
if ($a_maps[$_GET['id']]) {
|
||||
/* Remove staic ARP entry, if necessary */
|
||||
/* Remove static ARP entry, if necessary */
|
||||
if (isset($a_maps[$_GET['id']]['arp_table_static_entry'])) {
|
||||
mwexec("/usr/sbin/arp -d " . escapeshellarg($a_maps[$_GET['id']]['ipaddr']));
|
||||
}
|
||||
|
||||
@ -362,7 +362,7 @@ if ($_POST) {
|
||||
}
|
||||
}
|
||||
|
||||
/* Configure staic ARP entry, or remove ARP entry if this host is dynamic. See https://redmine.pfsense.org/issues/6821 */
|
||||
/* Configure static ARP entry, or remove ARP entry if this host is dynamic. See https://redmine.pfsense.org/issues/6821 */
|
||||
if ($mapent['arp_table_static_entry']) {
|
||||
mwexec("/usr/sbin/arp -S " . escapeshellarg($mapent['ipaddr']) . " " . escapeshellarg($mapent['mac']));
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user