From 407451e5569d39649c6c9ad96defef8199207033 Mon Sep 17 00:00:00 2001 From: krw Date: Sun, 18 Jun 2017 11:26:14 +0000 Subject: [PATCH] Make 'DEBUG' compile again. --- sbin/dhclient/dhclient.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index fe02ad0d21f..b5dd167de29 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.432 2017/06/17 20:23:17 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.433 2017/06/18 11:26:14 krw Exp $ */ /* * Copyright 2004 Henning Brauer @@ -881,7 +881,7 @@ dhcpoffer(struct interface_info *ifi, struct option_data *options, char *info) if (ifi->state != S_SELECTING) { #ifdef DEBUG - log_debug("Unexpected %s. State #%d.", info, client->state); + log_debug("Unexpected %s. State #%d.", info, ifi->state); #endif /* DEBUG */ return; } @@ -922,7 +922,7 @@ dhcpack(struct interface_info *ifi, struct option_data *options, char *info) ifi->state != S_RENEWING && ifi->state != S_REBINDING) { #ifdef DEBUG - log_debug("Unexpected %s. State #%d", info, client->state); + log_debug("Unexpected %s. State #%d", info, ifi->state); #endif /* DEBUG */ return; } @@ -954,7 +954,7 @@ dhcpnak(struct interface_info *ifi, struct option_data *options, char *info) ifi->state != S_RENEWING && ifi->state != S_REBINDING) { #ifdef DEBUG - log_debug("Unexpected %s. State #%d", info, client->state); + log_debug("Unexpected %s. State #%d", info, ifi->state); #endif /* DEBUG */ return; } -- 2.20.1