Bug #9144
closedSet interface IP address from console crashes if DHCP is selected
100%
Description
Steps to reproduce:
- Go to VGA console
- Option 2, Set interface IP address
- go through the wizard, when it asks you to enable DHCP say yes
- fill in the DHCP address range
- boom there goes the error, and it jumps back to the main menu
If you don't select enable DHCP, it sets the IP addresses correctly. As a workaround, you can assign a static IP to your PC, enter the web interface at the IP address set in the previous step, and enable DHCP from there - that doesn't crash.
[[Crash report begins. Anonymous machine information:
amd64
11.2-RELEASE-p3
FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[21-Nov-2018 19:33:23 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/rc.initial.setlanip:417
Stack trace:
#0 /etc/rc.initial.setlanip(430): console_configure_dhcpd(4)
#1 {main}
thrown in /etc/rc.initial.setlanip on line 417
No FreeBSD crash data found.]]