Skip to content

Commit

Permalink
server_handler: fixed ServerMeta not set
Browse files Browse the repository at this point in the history
  • Loading branch information
IrineSistiana committed Oct 11, 2023
1 parent 47aed79 commit ed40d64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server_handler/entry_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func (h *EntryHandler) Handle(ctx context.Context, q *dns.Msg, serverMeta server
defer cancel()

qCtx := query_context.NewContext(q)
qCtx.ServerMeta = serverMeta

// exec entry
err := h.opts.Entry.Exec(ctx, qCtx)
Expand Down

0 comments on commit ed40d64

Please sign in to comment.