MCPcopy Create free account
hub / github.com/WireGuard/wgctrl-go / mergeDevices

Function mergeDevices

internal/wglinux/parse_linux.go:293–303  ·  view source on GitHub ↗

mergeDevices merges Peer information from d into target. mergeDevices is used to deal with multiple incoming netlink messages for the same device.

(target, d *wgtypes.Device, knownPeers map[wgtypes.Key]int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseDeviceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected