Project

General

Profile

Actions

Todo #13263

open

Reduce log spam when deleting a static DHCP entry

Added by → luckman212 almost 2 years ago. Updated 4 months ago.

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

0%

Estimated time:
Plus Target Version:
24.03
Release Notes:
Default

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 almost 2 years ago

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

Actions #2

Updated by Marcos M 4 months ago

  • Tracker changed from Bug to Todo
  • Subject changed from Deleting a static DHCP entry when the related IP is not in the arp table spams the log to Reduce log spam when deleting a static DHCP entry
  • Assignee set to Marcos M
  • Target version set to 2.8.0
  • Plus Target Version set to 24.03

Applied in changeset 8b4006f25828c5fbd768e27b52470cdd3614f7ea.

Actions #3

Updated by Marcos M 4 months ago

  • Status changed from New to Feedback
Actions

Also available in: Atom PDF