summaryrefslogtreecommitdiff
path: root/src/tcpto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcpto.c')
-rw-r--r--src/tcpto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcpto.c b/src/tcpto.c
index 243d4ba..2e2805e 100644
--- a/src/tcpto.c
+++ b/src/tcpto.c
@@ -49,7 +49,7 @@ static int getbuf()
int tcpto(struct ip_mx *ix)
{
int af = ix->af;
- struct ip_address *ip = &ix->addr;
+ struct ip_address *ip = &ix->addr.ip4;
int n;
int i;
char *record;
@@ -84,7 +84,7 @@ int tcpto(struct ip_mx *ix)
void tcpto_err(struct ip_mx *ix, int flagerr)
{
int af = ix->af;
- struct ip_address *ip = &ix->addr;
+ struct ip_address *ip = &ix->addr.ip4;
int n;
int i;
char *record;