We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 950f3dc commit 82aed4bCopy full SHA for 82aed4b
src/audio/playback/mixer.cpp
@@ -56,7 +56,7 @@
56
#include "audio/audio_playback.h"
57
#include "audio/codec.h"
58
#include "audio/types.h"
59
-#include "compat/net.h" // for sockaddr_in, sockaddr_in6, in6_addr
+#include "compat/net.h" // for sockaddr_in, sockaddr_in6, in6_addr...
60
#include "debug.h"
61
#include "host.h" // for get_commandline_param, uv_argv
62
#include "lib_common.h"
@@ -115,6 +115,11 @@ class sockaddr_storage_less {
115
}
116
117
118
+ if (IN6_IS_ADDR_LINKLOCAL(&sin_x.sin6_addr) &&
119
+ sin_x.sin6_scope_id != sin_y.sin6_scope_id) {
120
+ return sin_x.sin6_scope_id < sin_y.sin6_scope_id;
121
+ }
122
+
123
return sin_x.sin6_port < sin_y.sin6_port;
124
125
abort();
0 commit comments