summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2012-08-31 23:02:19 +0200
committerNick Mathewson <nickm@torproject.org>2012-09-04 12:57:21 -0400
commit7a8366a3eb7081c29cbc0ebf0e9757cbfd71a86d (patch)
treea9757edc5f567b8d62daf837c76ff5d021c369e1 /src/or/or.h
parente04e1a2e7d67861881c9e237dcea344dda39e858 (diff)
downloadtor-7a8366a3eb7081c29cbc0ebf0e9757cbfd71a86d.tar.gz
tor-7a8366a3eb7081c29cbc0ebf0e9757cbfd71a86d.zip
Add IPv6 OR port to microdesc_t and populate it.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 7536afc690..4bf99e2eaa 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -1960,6 +1960,10 @@ typedef struct microdesc_t {
/** As routerinfo_t.onion_pkey */
crypto_pk_t *onion_pkey;
+ /** As routerinfo_t.ipv6_add */
+ tor_addr_t ipv6_addr;
+ /** As routerinfo_t.ipv6_orport */
+ uint16_t ipv6_orport;
/** As routerinfo_t.family */
smartlist_t *family;
/** Exit policy summary */