dhcp module update

This commit is contained in:
Nathan Gieseker
2019-06-26 01:25:22 -07:00
parent addbcd34b4
commit ce60e8eb3d
9 changed files with 123 additions and 52 deletions

View File

@@ -11,7 +11,7 @@ type Option struct {
type Options map[OptionCode][]byte
// SelectOrderOrAll has same functionality as SelectOrder, except if the order
// param is nil, whereby all options are added (in arbitary order).
// param is nil, whereby all options are added (in arbitrary order).
func (o Options) SelectOrderOrAll(order []byte) []Option {
if order == nil {
opts := make([]Option, 0, len(o))