artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
391405f
)
tick_msg("lease", TICK_SUCCESS) in bind_lease() should *not* be
author
krw
<krw@openbsd.org>
Sat, 20 Feb 2021 14:56:59 +0000
(14:56 +0000)
committer
krw
<krw@openbsd.org>
Sat, 20 Feb 2021 14:56:59 +0000
(14:56 +0000)
invoked when log_getverbose() returns 0.
sbin/dhclient/dhclient.c
patch
|
blob
|
history
diff --git
a/sbin/dhclient/dhclient.c
b/sbin/dhclient/dhclient.c
index
276f809
..
b518fdc
100644
(file)
--- a/
sbin/dhclient/dhclient.c
+++ b/
sbin/dhclient/dhclient.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dhclient.c,v 1.69
4 2021/02/19 13:4
6:59 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.69
5 2021/02/20 14:5
6:59 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@
-1071,7
+1071,7
@@
bind_lease(struct interface_info *ifi)
int rslt, seen;
time(&cur_time);
- if (log_getverbose()
== 0
)
+ if (log_getverbose())
tick_msg("lease", TICK_SUCCESS);
lease = apply_defaults(ifi->offer);