Project

General

Profile

Actions

Bug #13127

closed

DHCP lease list displays wrong interface name in the "Leases in Use" summary if DHCP settings for a disabled interface remain in the configuration

Added by → luckman212 over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP (IPv4)
Target version:
Start date:
Due date:
% Done:

0%

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

Description

22.01-RELEASE

repro:

  • Netgate 4100
  • enable DHCP server on LAN1
  • later, create BRIDGE interface named LAN_BRIDGE (members: LAN1-4)
  • edit LAN1 interface -> disable
  • enable DHCP server on LAN_BRIDGE
  • go to Status -> DHCP Leases
  • note the Ifname at the bottom will say "LAN1"

manual fix:

  • go into config.xml and delete the unused interface from <dhcpd> e.g. <lan></lan>
  • reload the page, correct ifname will be displayed

I'm sure this is a simple fix, haven't looked too deeply yet but I will make a PR if I can


Files

clipboard-202205041234-72uen.png (28.5 KB) clipboard-202205041234-72uen.png → luckman212, 05/04/2022 11:34 AM
clipboard-202205041235-5xs55.png (29.8 KB) clipboard-202205041235-5xs55.png → luckman212, 05/04/2022 11:35 AM
Actions

Also available in: Atom PDF