I made a router using OpenBSD+flashrd+NSH and found the command "SHOW DHCP LEASES" complaining about the file /var/db/dhcpd.leases wasn't on their place.
I built with -DDHCPLEASES=\"/flash/dhcpd.leases\" and dhcpd was working as expected.
After some digging I found the above path hardcoded in externs.h so I edited it making its definition conditional and the issue is gone.
If you feel it worth merging, please go ahead.
I made a router using OpenBSD+flashrd+NSH and found the command "SHOW DHCP LEASES" complaining about the file /var/db/dhcpd.leases wasn't on their place. I built with -DDHCPLEASES=\"/flash/dhcpd.leases\" and dhcpd was working as expected. After some digging I found the above path hardcoded in externs.h so I edited it making its definition conditional and the issue is gone. If you feel it worth merging, please go ahead.