]> code.delx.au - pulseaudio/blobdiff - src/modules/rtp/module-rtp-send.c
modules: Fix uninitialized variable in rtp-send
[pulseaudio] / src / modules / rtp / module-rtp-send.c
index 581e6be31a1fc27abffcd9a9f6f7b24087e5fc0b..14f00b39dd3fbbbe154fb538a9cedc93477965cc 100644 (file)
@@ -281,7 +281,7 @@ int pa__init(pa_module*m) {
         dst_sa6.sin6_family = af = AF_INET6;
         dst_sa6.sin6_port = htons((uint16_t) port);
         dst_sa6.sin6_flowinfo = 0;
-        src_sa6.sin6_scope_id = 0;
+        dst_sa6.sin6_scope_id = 0;
         dst_sap_sa6 = dst_sa6;
         dst_sap_sa6.sin6_port = htons(SAP_PORT);
 #endif