summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2018-11-10 21:04:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2018-11-10 21:04:02 +0000
commit585c9441d0398ae02f61b9d5172f3de786425808 (patch)
treea37334e4617ab0b75ff74dd02b48724da7c3088a
parent81e113639dc8a70e80dd95da98fea28b162924c6 (diff)
Use tick_msg(INT64_MAX) when LLADDR changes.
-rw-r--r--sbin/dhclient/dhclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index d152fb7085c..86f62cffdbf 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.586 2018/11/10 20:51:13 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.587 2018/11/10 21:04:01 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -368,6 +368,7 @@ routehandler(struct interface_info *ifi, int routefd)
memcpy(&hw, &ifi->hw_address, sizeof(hw));
get_hw_address(ifi);
if (memcmp(&hw, &ifi->hw_address, sizeof(hw))) {
+ tick_msg("", 0, INT64_MAX);
log_warnx("%s: LLADDR changed", log_procname);
quit = SIGHUP;
goto done;