diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2006-12-04 15:18:39 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | b73261b6f5f0dbb2c0fee2c52278dfbd0ee4aba3 (patch) | |
tree | 76254482d4374ed22b5785a9a70bd10045c390fd /common.h | |
parent | 11a1e58f11dfef67d01aebf89232f93f12207bc0 (diff) |
introduced a HAVE_SA_LEN macro to support OSes (other than linux) without length field in sockaddr_*
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ static __inline u_int8_t sysdep_sa_len (const struct sockaddr *sa) { -#ifdef __linux__ +#ifndef HAVE_SA_LEN switch (sa->sa_family) { case AF_INET: |