File: option_message_type.go

package info (click to toggle)
golang-github-insomniacslk-dhcp 0.0~git20250417.5f8cf70-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,096 kB
  • sloc: makefile: 3
file content (6 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
package dhcpv4

// OptMessageType returns a new DHCPv4 Message Type option.
func OptMessageType(m MessageType) Option {
	return Option{Code: OptionDHCPMessageType, Value: m}
}