summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-17 09:20:48 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-17 09:20:48 +0000
commit1e46e5030af79fae82a15a4d25f5e09d5a092719 (patch)
tree35902da847e3dd283312846ae4a6fd1d14165343 /util.c
parentbfa5790da4c87934763c66531e25cb473306ac39 (diff)
fixed couple of bugs
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@386 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index 02614eb..9a54b57 100644
--- a/util.c
+++ b/util.c
@@ -127,6 +127,7 @@ struct sockaddr *addr_copy(struct sockaddr *in) {
}
break;
}
+ out->sa_family = in->sa_family;
return out;
}