Browse Source

Update logic

Bruce Wayne 5 years ago
parent
commit
eced950c90
1 changed files with 1 additions and 1 deletions
  1. 1 1
      STUN/Client/StunClient5389UDP.cs

+ 1 - 1
STUN/Client/StunClient5389UDP.cs

@@ -126,9 +126,9 @@ namespace STUN.Client
             if (notifyChanged)
             {
                 _bindingSubj.OnNext(res);
+                PubSubj.OnNext(mappedAddress1);
             }
             LocalSubj.OnNext(LocalEndPoint);
-            PubSubj.OnNext(mappedAddress1);
 
             return new StunResult5389
             {