Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 329039
Collapse All | Expand All

(-)a/openslp-1.2.1/slpd/slpd_socket.c (-1 / +1 lines)
Lines 183-189 Link Here
183
    memcpy(&mreq.imr_multiaddr, maddr, sizeof(struct in_addr));
183
    memcpy(&mreq.imr_multiaddr, maddr, sizeof(struct in_addr));
184
184
185
    /* drop for the specified interface */
185
    /* drop for the specified interface */
186
    memcpy(&mreq.imr_interface,addr,sizeof(addr));
186
    memcpy(&mreq.imr_interface,addr,sizeof(struct in_addr));
187
187
188
    return setsockopt(sockfd, IPPROTO_IP, IP_DROP_MEMBERSHIP, (char*)&mreq,sizeof(mreq));               
188
    return setsockopt(sockfd, IPPROTO_IP, IP_DROP_MEMBERSHIP, (char*)&mreq,sizeof(mreq));               
189
}
189
}

Return to bug 329039