]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
device: format a few things
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 6 Nov 2020 17:01:09 +0000 (18:01 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 6 Nov 2020 17:01:27 +0000 (18:01 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
device/mobilequirks.go
device/peer.go

index fc0b3863e568e895eef6777351510ef4f5035a3d..c92bd3d7de8f3701390658940d4feaf1039ca771 100644 (file)
@@ -13,4 +13,4 @@ func (device *Device) DisableSomeRoamingForBrokenMobileSemantics() {
                peer.disableRoaming = peer.endpoint != nil
        }
        device.peers.RUnlock()
-}
\ No newline at end of file
+}
index 8cb0dc26f7f4c0321d899d9f6dce5bf3540fceb8..ef6c0103f6191f82d7fb5df785c8b4e2b3e3c5af 100644 (file)
@@ -291,7 +291,6 @@ func (peer *Peer) Stop() {
        peer.ZeroAndFlushAll()
 }
 
-
 func (peer *Peer) SetEndpointFromPacket(endpoint conn.Endpoint) {
        if peer.disableRoaming {
                return