wireguard-go-bridge: add missing format specifier for error

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2019-04-24 13:23:45 +02:00
parent b954e9a4fd
commit 83ea9d6fa7
1 changed files with 2 additions and 2 deletions

View File

@ -175,11 +175,11 @@ func wgBindInterfaceScope(tunnelHandle int32, ifscope int32) {
device.Info.Printf("Binding sockets to interface %d\n", ifscope)
err := device.BindSocketToInterface4(uint32(ifscope))
if err != nil {
device.Error.Printf("Unable to bind v4 socket to interface:", err)
device.Error.Printf("Unable to bind v4 socket to interface: %v", err)
}
err = device.BindSocketToInterface6(uint32(ifscope))
if err != nil {
device.Error.Printf("Unable to bind v6 socket to interface:", err)
device.Error.Printf("Unable to bind v6 socket to interface: %v", err)
}
}