summaryrefslogtreecommitdiffstats
path: root/lib/sockunion.c
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-04-16 20:10:05 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-04-16 20:10:05 +0100
commit62ecf51e3c652c65c84bb94d794f2533cee1fb9c (patch)
treec41ff6a9749574635120efa642d1b123971beb3e /lib/sockunion.c
parenta20526cc30d68ca5c4c7951238faafa8969a31c1 (diff)
downloadquagga-62ecf51e3c652c65c84bb94d794f2533cee1fb9c.tar.bz2
quagga-62ecf51e3c652c65c84bb94d794f2533cee1fb9c.tar.xz
Fixes to compile on FreeBSD 8.0 with gcc 4.2.1
Diffstat (limited to 'lib/sockunion.c')
-rw-r--r--lib/sockunion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sockunion.c b/lib/sockunion.c
index 9a063190..e08a3745 100644
--- a/lib/sockunion.c
+++ b/lib/sockunion.c
@@ -167,11 +167,11 @@ sockunion_set_family(sockunion su, sa_family_t family)
#ifdef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
if (family == AF_INET)
- sockunion_sin_len(sockunion su) ;
+ sockunion_sin_len(su) ;
#endif
#if defined(HAVE_IPV6) && defined(SIN6_LEN)
if (family == AF_INET6)
- sockunion_sin6_len(sockunion su) ;
+ sockunion_sin6_len(su) ;
#endif
return 0 ;