summaryrefslogtreecommitdiff
path: root/sbin/dhcpleased/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhcpleased/frontend.c')
-rw-r--r--sbin/dhcpleased/frontend.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sbin/dhcpleased/frontend.c b/sbin/dhcpleased/frontend.c
index 9dbe88716c1..fdc4ae8ca16 100644
--- a/sbin/dhcpleased/frontend.c
+++ b/sbin/dhcpleased/frontend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frontend.c,v 1.34 2024/06/03 17:58:33 deraadt Exp $ */
+/* $OpenBSD: frontend.c,v 1.35 2024/06/27 14:53:06 florian Exp $ */
/*
* Copyright (c) 2017, 2021 Florian Obser <florian@openbsd.org>
@@ -809,18 +809,6 @@ handle_route_message(struct rt_msghdr *rtm, struct sockaddr **rti_info)
frontend_imsg_compose_engine(IMSG_REPROPOSE_RDNS,
0, 0, NULL, 0);
}
-#ifndef SMALL
- else if (rtm->rtm_flags & RTF_PROTO3) {
- char ifnamebuf[IF_NAMESIZE], *if_name;
-
- if_index = rtm->rtm_index;
- if_name = if_indextoname(if_index, ifnamebuf);
- log_warnx("\"dhclient %s\" ran, requesting new lease",
- if_name != NULL ? if_name : "(unknown)");
- frontend_imsg_compose_engine(IMSG_REQUEST_REBOOT,
- 0, 0, &if_index, sizeof(if_index));
- }
-#endif /* SMALL */
break;
default:
log_debug("unexpected RTM: %d", rtm->rtm_type);