diff --git a/zeroconf/src/macos/service_ref.rs b/zeroconf/src/macos/service_ref.rs index 18ebbf6..4d3540f 100644 --- a/zeroconf/src/macos/service_ref.rs +++ b/zeroconf/src/macos/service_ref.rs @@ -56,7 +56,7 @@ impl ManagedDNSServiceRef { regtype, domain, host, - port, + port.to_be(), txt_len, txt_record, callback,