Project

General

Profile

Actions

Todo #13263

closed

Reduce log spam when deleting a static DHCP entry

Added by → luckman212 almost 2 years ago. Updated 3 days ago.

Status:
Resolved
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

Also available in: Atom PDF