Project

General

Profile

Actions

Bug #13263

open

Deleting a static DHCP entry when the related IP is not in the arp table spams the log

Added by → luckman212 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
DHCP (IPv4)
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

This is not a huge priority, but when deleting static DHCP mappings for devices that are offline / not on network and thus not in arp cache, the log will be filled with

/services_dhcp_edit.php: The command '/usr/sbin/arp -d '192.168.20.60" returned exit code '1', the output was 'arp: writing to routing socket: No such file or directory'

Simply piping the output of that arp -d command to /dev/null should solve this and reduce log spam.

Example screenshot:


Files

clipboard-202206101152-yqi0i.png (293 KB) clipboard-202206101152-yqi0i.png → luckman212, 06/10/2022 10:52 AM
Actions #1

Updated by → luckman212 12 months ago

I made and tested this small patch: https://github.com/pfsense/pfsense/pull/4597

Actions

Also available in: Atom PDF