MCPcopy Create free account
hub / github.com/danderson/netboot / BootFileURL

Method BootFileURL

dhcp6/options.go:337–343  ·  view source on GitHub ↗

BootFileURL returns the value in the Boot File URL Option, or nil if the option doesn't exist

()

Source from the content-addressed store, hash-verified

335
336// BootFileURL returns the value in the Boot File URL Option, or nil if the option doesn't exist
337func (o Options) BootFileURL() []byte {
338 opt, exists := o[OptBootfileURL]
339 if exists {
340 return opt[0].Value
341 }
342 return nil
343}

Calls

no outgoing calls