OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: LOTRouter on August 25, 2023, 09:22:40 PM

Title: SERVICES: DHCPv4: Leases - Display issue
Post by: LOTRouter on August 25, 2023, 09:22:40 PM
I have three separate interfaces on my network that I have placed into a firewall group called LAN to simplify rules (FIREWALL: GROUPS)

I also have static DHCP entries setup for those interfaces in SERVICES: DHCPv4: [respective_interface]

While all is working fine, when I display my DHCP leases using SERVICES: DHCPv4: Leases:

Under the "Interface" column, static entries from one of the interfaces shows up as "LAN" and the other interfaces static entries are blank in that column.  Entries that are NOT staticly configured show up in the correct interface in this display.

This seems to have been intoduced in the 23.7 code, but I just noticed it.
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: franco on August 25, 2023, 09:33:16 PM
You are not on 23.7.2 then?


Cheers,
Franco
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: LOTRouter on August 25, 2023, 09:38:21 PM
I am on 23.7.2
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: franco on August 25, 2023, 10:06:50 PM
Strange as there was a fix for this specifically... https://github.com/opnsense/core/commit/ac3b9740e2


Cheers,
Franco
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: LOTRouter on August 25, 2023, 11:59:47 PM
Quote from: franco on August 25, 2023, 10:06:50 PM
Strange as there was a fix for this specifically... https://github.com/opnsense/core/commit/ac3b9740e2


Cheers,
Franco

I have eight OPNsense routers I manage, and they have all been updated to 23.7.2, and they are all still having this issue.  So, maybe that fix needs a fix?
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: franco on August 26, 2023, 08:51:32 PM
Sure, but unsure how to debug this. The lease file alone would not be enough. Maybe we can start with a screenshot of the issue (working vs. non working). Unfortunately the information shown matters. I think that scrubbing addresses might not make it easier if not impossible to double-check. You can send a screen cap my wat to franco AT opnsense DOT org and I will report back on Monday.


Thanks,
Franco
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: LOTRouter on August 30, 2023, 10:14:50 AM
Thanks for the follow up Franco.  The patch you provided indeed fixes the issue on 23.7.2.

https://github.com/opnsense/core/commit/843c4d84

# opnsense-patch 843c4d84
Title: Re: SERVICES: DHCPv4: Leases - Display issue
Post by: LOTRouter on August 31, 2023, 06:34:06 AM
This is also fixed in 23.7.3