]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: do not log on idempotent device state change
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 14:25:43 +0000 (15:25 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 14:37:04 +0000 (15:37 +0100)
commitd6e76fdbd6bae64a08662eb19d3634adb4881155
tree02e6f51a04e0090a29c0509c069696a88750a9b6
parent6ac1240821207c90708ac205f4f98eb8b82f3ee5
device: do not log on idempotent device state change

Part of being actually idempotent is that we shouldn't penalize code
that takes advantage of this property with a log splat.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
device/device.go