diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-02 16:53:29 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-02 16:55:55 +0000 |
commit | 542dc4cf62bca101ec555f4aaeb443786eb87edb (patch) | |
tree | 29baa5f82d0c45f0a562e7b9ae0a3fbdce8433cd /ext/rpatricia/patricia.h | |
parent | c8adca42aa407e1c68bcc2697b20e1242dfa3a3e (diff) | |
download | rpatricia-542dc4cf62bca101ec555f4aaeb443786eb87edb.tar.gz |
assume HAVE_IPV6 and !NT
ifdefs make code hard to maintain, and all modern systems have IPv6-capable userspace anyways.
Diffstat (limited to 'ext/rpatricia/patricia.h')
-rw-r--r-- | ext/rpatricia/patricia.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/rpatricia/patricia.h b/ext/rpatricia/patricia.h index 5224859..b66fe55 100644 --- a/ext/rpatricia/patricia.h +++ b/ext/rpatricia/patricia.h @@ -50,9 +50,7 @@ typedef struct _prefix_t { int ref_count; /* reference count */ union { struct in_addr sin; -#ifdef HAVE_IPV6 struct in6_addr sin6; -#endif /* IPV6 */ } add; } prefix_t; |