summaryrefslogtreecommitdiffstats
path: root/ctdb/common/system_gnu.c
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2013-01-14 17:48:01 +0100
committerAmitay Isaacs <amitay@gmail.com>2013-01-22 18:04:00 +1100
commit264f847631eb140f134c58e595989eb5af4ae711 (patch)
tree5a14216dc4c6460ab0311c6140dc7c6a6dbd0a74 /ctdb/common/system_gnu.c
parent52a99cbac6afac0348cbff216c6964156ca987b6 (diff)
downloadsamba-264f847631eb140f134c58e595989eb5af4ae711.tar.gz
samba-264f847631eb140f134c58e595989eb5af4ae711.tar.xz
samba-264f847631eb140f134c58e595989eb5af4ae711.zip
common: Don't lie on unimplemented gratuitous arp
Signed-off-by: Mathieu Parent <math.parent@gmail.com> (This used to be ctdb commit b054193d1d19a8eef998fa690899501f79badb8a)
Diffstat (limited to 'ctdb/common/system_gnu.c')
-rw-r--r--ctdb/common/system_gnu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/system_gnu.c b/ctdb/common/system_gnu.c
index b141da39f90..0d79ab504c8 100644
--- a/ctdb/common/system_gnu.c
+++ b/ctdb/common/system_gnu.c
@@ -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;
}