summaryrefslogtreecommitdiff
path: root/main/acl.c
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2009-09-03 16:31:54 +0000
committerDavid Vossel <dvossel@digium.com>2009-09-03 16:31:54 +0000
commitd09f9fd00a08c9e143ea68003ecf87dfe970a8a9 (patch)
treec83c86ded8f9d5a32fd96c2ee708c8185407971d /main/acl.c
parent6d6ce303cbf2dbcacd4a84f4f6613a66fae56c48 (diff)
Merge code associated with AST-2009-006
(closes issue #12912) Reported by: rathaus Tested by: tilghman, russell, dvossel, dbrooks git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/acl.c')
-rw-r--r--main/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/acl.c b/main/acl.c
index fea76a62b..8daeb4a84 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -225,7 +225,7 @@ void ast_free_ha(struct ast_ha *ha)
}
/* Copy HA structure */
-static void ast_copy_ha(struct ast_ha *from, struct ast_ha *to)
+void ast_copy_ha(const struct ast_ha *from, struct ast_ha *to)
{
memcpy(&to->netaddr, &from->netaddr, sizeof(from->netaddr));
memcpy(&to->netmask, &from->netmask, sizeof(from->netmask));