OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: jwe87 on August 26, 2023, 12:03:48 AM

Title: [Fixed]dhcp add static button redirects to index
Post by: jwe87 on August 26, 2023, 12:03:48 AM
i am on 23.7.2

In the DHCP lease list, the "+" button is not working anymore
my interface is called vlan_10.
the button links to
services_dhcp_edit.php?if=lagg0_vlan10&mac=[REDACTED]&hostname=[REDACTED]
the correct link should be going to "opt2":
services_dhcp_edit.php?if=opt2&mac=[REDACTED]&hostname=[REDACTED]

i checked for javascript errors but i dont see anything on the browser side that may be wrong.

for me, it seems like its using the wrong column from the interface assignments...

am i missing something?

Title: Re: dhcp add static button redirects to index
Post by: jwe87 on August 26, 2023, 12:30:26 AM
nevermind. its already fixed:
https://github.com/opnsense/core/commit/6b909723
Title: Re: [Fixed]dhcp add static button redirects to index
Post by: Tismofied on August 26, 2023, 08:20:41 PM
How? It still redirects me to the dashboard page.
Title: Re: dhcp add static button redirects to index
Post by: newsense on August 26, 2023, 08:40:10 PM
Quote from: jwe87 on August 26, 2023, 12:30:26 AM
nevermind. its already fixed:
https://github.com/opnsense/core/commit/6b909723

Need to apply the patch or wait for 23.7.3. Works immediately, no service/machine restart required.

opnsense-patch 6b909723
Title: Re: dhcp add static button redirects to index
Post by: Tismofied on August 26, 2023, 08:46:45 PM
Quote from: newsense on August 26, 2023, 08:40:10 PM
Quote from: jwe87 on August 26, 2023, 12:30:26 AM
nevermind. its already fixed:
https://github.com/opnsense/core/commit/6b909723

Need to apply the patch or wait for 23.7.3. Works immediately, no service/machine restart required.

opnsense-patch 6b909723

Thank you! that fixed it
Title: Re: dhcp add static button redirects to index
Post by: 9axqe on August 27, 2023, 12:41:42 PM
Quote from: newsense on August 26, 2023, 08:40:10 PM
Need to apply the patch or wait for 23.7.3. Works immediately, no service/machine restart required.

opnsense-patch 6b909723

Is that compatible with another DHCP patch (fb2d2f6)? Or is there a risk of conflict and unpredictable behavior?
Title: Re: [Fixed]dhcp add static button redirects to index
Post by: newsense on August 27, 2023, 02:03:53 PM
There should be no issues, haven't seen any mutually exclusive patches for DHCP
Title: Re: [Fixed]dhcp add static button redirects to index
Post by: 9axqe on August 27, 2023, 04:41:34 PM
It worked, thanks.