Commit 378a4fc4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix SAP announce destination address - closes #314

Bug reported by Thomas Knauer
parent 76b2c255
...@@ -332,6 +332,8 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap, ...@@ -332,6 +332,8 @@ static int announce_SAPAnnounceAdd( sap_handler_t *p_sap,
else else
/* other addresses => 224.2.127.254 */ /* other addresses => 224.2.127.254 */
ipv4 = 0xe0027ffe; ipv4 = 0xe0027ffe;
((struct sockaddr_in *)&addr)->sin_addr.s_addr = htonl( ipv4 );
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment