From 0d8e91a22584149d41a152066923bf2ae7d0ff66 Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Tue, 20 Jan 2026 21:57:37 -0800 Subject: [PATCH] Check if only the NOMINATION attribute is set --- selection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selection.go b/selection.go index 533d5666..a59329a3 100644 --- a/selection.go +++ b/selection.go @@ -416,7 +416,7 @@ func (s *controlledSelector) HandleBindingRequest(message *stun.Message, local, } pair.UpdateRequestReceived() - if message.Contains(stun.AttrUseCandidate) { //nolint:nestif + if message.Contains(stun.AttrUseCandidate) || message.Contains(s.agent.nominationAttribute) { //nolint:nestif // https://tools.ietf.org/html/rfc8445#section-7.3.1.5 // Check for renomination attribute