]> git.meshlink.io Git - catta/commitdiff
remove htonl() that shouldn't be there
authorLennart Poettering <lennart@poettering.net>
Fri, 21 Oct 2005 11:53:02 +0000 (11:53 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 Oct 2005 11:53:02 +0000 (11:53 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@833 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/socket.c

index d02925aaff9c343262af839027c22446b90a092b..093e078b1c212f41324e67f2aaa500208d1f6aa4 100644 (file)
@@ -115,7 +115,7 @@ int avahi_mdns_mcast_join_ipv4(int fd, const AvahiAddress *a, int join) {
 #else
     assert(a);
     assert(a->proto == AVAHI_PROTO_INET);
-    mreq.imr_interface.s_addr = htonl(a->data.ipv4.address);
+    mreq.imr_interface.s_addr = a->data.ipv4.address;
 #endif
     
     mdns_mcast_group_ipv4(&sa);