summaryrefslogtreecommitdiff
path: root/src/tcpto.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 22:05:52 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 22:05:52 +0200
commite6e9663d40f7aab9e1982dddcaa11386551ad182 (patch)
tree39c2a34aa78d4723e8308d270e872f61da3818ca /src/tcpto.c
parent20b85c03e751b4876fa3c92040464e483172b746 (diff)
fix issues preventing compilationjannis
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;