Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Murray <brian@bmurray.ca>
  • Loading branch information
bmurray committed Jan 29, 2024
2 parents a80de3d + 6247bc8 commit 5b83c65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions node.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ func NewNode(name string, style code.StyleCode, ip net.IP, log Logger, opts ...N
n.SetOption(opt)
}

for _, opt := range opts {
n.SetOption(opt)
}

// initialize required node callbacks
n.callbacks = map[code.OpCode]NodeCallbackFn{
code.OpPoll: n.handlePacketPoll,
Expand Down

0 comments on commit 5b83c65

Please sign in to comment.