1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-15 14:58:06 +11:00
OC-Minitel/syslog/OpenOS/etc
Christopher Head 074a980d81
Do not unregister listeners on unexpected data
If a registered event listener callback returns `false`, the listener is
unregistered. A network packet arriving on a different port, or a
message with a missing part, should not cause the syslog system to shut
down. Return `nil` instead of `false` if those sanity checks fail, to
keep the listener registered.
2021-01-22 19:21:23 -08:00
..
rc.d Do not unregister listeners on unexpected data 2021-01-22 19:21:23 -08:00