[netd] fix -Wreorder-init-list

C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: mm
Change-Id: I4b856942f5c323898cf572dc60622d62c6ffed94
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
diff --git a/server/ClatdController.cpp b/server/ClatdController.cpp
index 6039d9a..bf29693 100644
--- a/server/ClatdController.cpp
+++ b/server/ClatdController.cpp
@@ -140,7 +140,11 @@
 
     // Attempt to connect to the address. If the connection succeeds and getsockname returns the
     // same then the address is already assigned to the system and we can't use it.
-    struct sockaddr_in sin = {.sin_family = AF_INET, .sin_addr = {addr}, .sin_port = 53};
+    struct sockaddr_in sin = {
+            .sin_family = AF_INET,
+            .sin_port = 53,
+            .sin_addr = {addr},
+    };
     socklen_t len = sizeof(sin);
     bool inuse = connect(s, (struct sockaddr*)&sin, sizeof(sin)) == 0 &&
                  getsockname(s, (struct sockaddr*)&sin, &len) == 0 && (size_t)len >= sizeof(sin) &&