MCPcopy Create free account
hub / github.com/encodeous/nylon / handlePostConfig

Method handlePostConfig

polyamide/device/uapi.go:261–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

259}
260
261func (peer *ipcSetPeer) handlePostConfig() {
262 if peer.Peer == nil || peer.dummy {
263 return
264 }
265 if peer.created {
266 peer.endpoints.disableRoaming = peer.device.net.brokenRoaming && len(peer.endpoints.val) != 0
267 }
268 if peer.device.isUp() {
269 peer.Start()
270 if peer.pkaOn {
271 peer.SendKeepalive()
272 }
273 peer.SendStagedPackets()
274 }
275}
276
277func (device *Device) handlePublicKeyLine(peer *ipcSetPeer, value string) error {
278 // Load/create the peer we are configuring.

Callers 1

IpcSetOperationMethod · 0.80

Calls 4

isUpMethod · 0.80
SendKeepaliveMethod · 0.80
SendStagedPacketsMethod · 0.80
StartMethod · 0.65

Tested by

no test coverage detected