[Fixed]dhcp add static button redirects to index

Started by jwe87, August 26, 2023, 12:03:48 AM

Previous topic - Next topic
August 26, 2023, 12:03:48 AM Last Edit: August 26, 2023, 12:30:42 AM by jwe87
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?



How? It still redirects me to the dashboard page.

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

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

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?

There should be no issues, haven't seen any mutually exclusive patches for DHCP