From 00bedf694635bc957d9517f548faf0e13d355fb7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 8 Feb 2022 12:06:52 -0500 Subject: [PATCH] Shuffle confluenntuuid to earlier in copernicus Currently, ssdp handler behavior needs confluentuuid first, if it is to have any effect. --- confluent_osdeploy/utils/copernicus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/utils/copernicus.c b/confluent_osdeploy/utils/copernicus.c index a3aa1d19..ab989c0e 100644 --- a/confluent_osdeploy/utils/copernicus.c +++ b/confluent_osdeploy/utils/copernicus.c @@ -119,10 +119,10 @@ int main(int argc, char* argv[]) { inet_pton(AF_INET, "239.255.255.250", &dst4.sin_addr); strncpy(msg, "M-SEARCH * HTTP/1.1\r\nST: urn:xcat.org:service:confluent:", 1024); offset = strnlen(msg, 1024); - add_uuid(msg + offset, 1024 - offset); - offset = strnlen(msg, 1024); add_confluent_uuid(msg + offset, 1024 - offset); offset = strnlen(msg, 1024); + add_uuid(msg + offset, 1024 - offset); + offset = strnlen(msg, 1024); add_macs(msg + offset, 1024 - offset); offset = strnlen(msg, 1024); ns = socket(AF_INET6, SOCK_DGRAM, 0);