-/* $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>
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);