diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-10-26 12:03:08 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-10-26 12:03:08 +0000 |
commit | 96e33d6c47856cf7acbdc90d97358149b738e2d1 (patch) | |
tree | fc433851c2116eb993c2aae3a4213335a7855f3d /sbin/isakmpd/isakmp_cfg.c | |
parent | c324b6d8c25b296f0b3ba5e5e386dbc0bb9c96b4 (diff) |
Just rename sockaddr_data/len functions to sockaddr_addrdata/addrlen.
Diffstat (limited to 'sbin/isakmpd/isakmp_cfg.c')
-rw-r--r-- | sbin/isakmpd/isakmp_cfg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/isakmpd/isakmp_cfg.c b/sbin/isakmpd/isakmp_cfg.c index f575687f902..b71f493f608 100644 --- a/sbin/isakmpd/isakmp_cfg.c +++ b/sbin/isakmpd/isakmp_cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmp_cfg.c,v 1.6 2001/08/27 03:10:55 deraadt Exp $ */ +/* $OpenBSD: isakmp_cfg.c,v 1.7 2001/10/26 12:03:07 ho Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist. All rights reserved. @@ -387,7 +387,7 @@ responder_send_ATTR (struct message *msg) break; } - memcpy (attrp + off + ISAKMP_ATTR_VALUE_OFF, sockaddr_data (sa), + memcpy (attrp + off + ISAKMP_ATTR_VALUE_OFF, sockaddr_addrdata (sa), attr->length); free (sa); break; @@ -424,7 +424,7 @@ responder_send_ATTR (struct message *msg) break; } - memcpy (attrp + off + ISAKMP_ATTR_VALUE_OFF, sockaddr_data (sa), + memcpy (attrp + off + ISAKMP_ATTR_VALUE_OFF, sockaddr_addrdata (sa), attr->length); free (sa); break; @@ -449,7 +449,7 @@ responder_send_ATTR (struct message *msg) break; } - memcpy (attrp + off + ISAKMP_ATTR_VALUE_OFF, sockaddr_data (sa), + memcpy (attrp + off + ISAKMP_ATTR_VALUE_OFF, sockaddr_addrdata (sa), attr->length); free (sa); break; |