From 1ca6b25a00ea19b5553236e544801a85e69b4dbd Mon Sep 17 00:00:00 2001 From: dvossel Date: Thu, 3 Sep 2009 18:40:12 +0000 Subject: Merged revisions 215955 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r215955 | dvossel | 2009-09-03 11:31:54 -0500 (Thu, 03 Sep 2009) | 6 lines Merge code associated with AST-2009-006 (closes issue #12912) Reported by: rathaus Tested by: tilghman, russell, dvossel, dbrooks ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@216003 f38db490-d61c-443f-a65b-d21fe96a405b --- main/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/acl.c') diff --git a/main/acl.c b/main/acl.c index 731de5cc6..f97bc470f 100644 --- a/main/acl.c +++ b/main/acl.c @@ -220,7 +220,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)); -- cgit v1.2.3