1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

common: Don't lie on unimplemented gratuitous arp

Signed-off-by: Mathieu Parent <math.parent@gmail.com>

(This used to be ctdb commit b054193d1d19a8eef998fa690899501f79badb8a)
This commit is contained in:
Mathieu Parent 2013-01-14 17:48:01 +01:00 committed by Amitay Isaacs
parent 52a99cbac6
commit 264f847631
4 changed files with 5 additions and 5 deletions

View File

@ -206,8 +206,8 @@ int ctdb_sys_close_capture_socket(void *private_data)
*/
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
{
/* We dont do grat arp on aix yet */
return 0;
/* FIXME AIX: We dont do gratuitous arp yet */
return -1;
}

View File

@ -76,7 +76,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
{
/* FIXME FreeBSD: We dont do gratuitous arp yet */
return 0;
return -1;
}

View File

@ -75,7 +75,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
{
/* FIXME GNU/Hurd: We dont do gratuitous arp yet */
return 0;
return -1;
}

View File

@ -75,7 +75,7 @@ static uint16_t tcp_checksum6(uint16_t *data, size_t n, struct ip6_hdr *ip6)
int ctdb_sys_send_arp(const ctdb_sock_addr *addr, const char *iface)
{
/* FIXME kFreeBSD: We dont do gratuitous arp yet */
return 0;
return -1;
}