kea-dhcp4 do not exit when DHCPSRV_NO_SOCKETS_OPEN
In a failure case, if the ethernet interface is down the kea-dhcp4 fail to exit on DHCPSRV_NO_SOCKETS_OPEN. It just hangs till restart/reload.
"Dhcp4": {
"interfaces-config": {
"interfaces":[ "eth0" ],
"dhcp-socket-type" : "raw"
},
........
}
2020-06-30 00:55:09.582 WARN [kea-dhcp4.dhcpsrv/56] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface fastcmVlan is not running
2020-06-30 00:55:09.583 WARN [kea-dhcp4.dhcpsrv/56] DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic
can you help with your comments Thanks in Advance.