aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-10 12:50:38 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-10 12:50:38 -0400
commit5d8336c182777c36ebff561b420d67fcafb9a9f7 (patch)
treef77e42894f28c0050540a55fea414eed5deb6691 /src/tools
parentef106ce7884b0af7adcf9f3965ebbe843a47912c (diff)
downloadtor-5d8336c182777c36ebff561b420d67fcafb9a9f7.tar.gz
tor-5d8336c182777c36ebff561b420d67fcafb9a9f7.zip
Refactor ipv[46].[ch]
These are now combined into an inaddr.[ch], since their purpose is to implement functions for struct in_addr and struct in6_addr. The definitions for in6_addr and its allies are now in a separate header, inaddr_st.h. Closes ticket 26532.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-gencert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c
index ce032ed643..c1cda07972 100644
--- a/src/tools/tor-gencert.c
+++ b/src/tools/tor-gencert.c
@@ -41,7 +41,7 @@ ENABLE_GCC_WARNING(redundant-decls)
#include "lib/log/torlog.h"
#include "lib/malloc/util_malloc.h"
#include "lib/net/address.h"
-#include "lib/net/ipv4.h"
+#include "lib/net/inaddr.h"
#include "lib/string/compat_string.h"
#include "lib/string/printf.h"