Compare commits

...

2 Commits

Author SHA1 Message Date
世界
c4e92844d7
Bump version 2025-08-19 11:15:48 +08:00
世界
cef3e538ba
Fix failed DNS responses being incorrectly rejected 2025-08-19 11:14:46 +08:00
3 changed files with 5 additions and 6 deletions

@ -1 +1 @@
Subproject commit 6db8e06e8d6c77648e79e3f93bdd41a4d48cc319
Subproject commit 597c18482f6edc44e0c94b7cc849dd03b2121c45

View File

@ -293,12 +293,7 @@ func (r *Router) Exchange(ctx context.Context, message *mDNS.Msg, options adapte
} else if errors.Is(err, ErrResponseRejected) {
rejected = true
r.logger.DebugContext(ctx, E.Cause(err, "response rejected for ", FormatQuestion(message.Question[0].String())))
/*} else if responseCheck!= nil && errors.Is(err, RcodeError(mDNS.RcodeNameError)) {
rejected = true
r.logger.DebugContext(ctx, E.Cause(err, "response rejected for ", FormatQuestion(message.Question[0].String())))
*/
} else if len(message.Question) > 0 {
rejected = true
r.logger.ErrorContext(ctx, E.Cause(err, "exchange failed for ", FormatQuestion(message.Question[0].String())))
} else {
r.logger.ErrorContext(ctx, E.Cause(err, "exchange failed for <empty query>"))

View File

@ -2,6 +2,10 @@
icon: material/alert-decagram
---
#### 1.12.2
* Fixes and improvements
#### 1.12.1
* Fixes and improvements