Skip to content

Commit e9eceb6

Browse files
committed
isc-dhcp: don't crash if the network is restarted
Previously if the network interfaces (bridges and vlans especially) went away and dhcpd was listening on them, it would die ignominiously. Add support for restarting the service is the interfaces it was listening on get kicked out from under it. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
1 parent 315ef8a commit e9eceb6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

net/isc-dhcp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PKG_NAME:=isc-dhcp
1111
UPSTREAM_NAME:=dhcp
1212
PKG_REALVERSION:=4.4.3-P1
1313
PKG_VERSION:=4.4.3_p1
14-
PKG_RELEASE:=13
14+
PKG_RELEASE:=14
1515

1616
PKG_LICENSE:=BSD-3-Clause
1717
PKG_LICENSE_FILES:=LICENSE

net/isc-dhcp/files/dhcpd.init

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ EOF
702702

703703
procd_open_instance
704704
procd_set_param command $PROG -q -f -cf $config_file -lf $lease_file $dhcp_ifs
705+
procd_set_param netdev $dhcp_ifs
705706
procd_close_instance
706707
}
707708

0 commit comments

Comments
 (0)