Commit Graph

2 Commits

Author SHA1 Message Date
CNBUGS AI 9d0bae5d0c Fix config hot-reload for serverIP
- Add getServerIP() method to dynamically read Gateway from config
- Update sendOffer, sendACK, sendNAK to use getServerIP()
- This ensures gateway IP updates when config changes via web UI
2026-04-24 16:50:40 +08:00
CNBUGS AI 8ad4c3576d Fix DHCP client unable to get IP and config not persisting
- Fixed verifyAssignment being too strict for new clients
- Fixed parseRequestedIP string conversion bug
- Fixed response sent to 0.0.0.0 instead of broadcast address
- Added SO_BROADCAST support for UDP socket
- Fixed session persistence after page refresh (localStorage)
- Added in-memory session store for auth middleware
- Added config reloader so DHCP server picks up web UI changes dynamically
2026-04-24 16:03:54 +08:00