aboutsummaryrefslogtreecommitdiffstats
path: root/main/acl.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-01 17:56:59 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-01 17:56:59 +0000
commit5e51fc577edc8ebab3b059ae569f2d5a456969a8 (patch)
tree08368ddc04f75c9bdcfd84dd081448238388d898 /main/acl.c
parentf5efde90a846148c64a056ede06d636c5d3c4833 (diff)
Add some fixes for building on Solaris.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77869 f38db490-d61c-443f-a65b-d21fe96a405b
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 5d8c82380..f5261965e 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -79,7 +79,7 @@ struct ast_ha {
};
/* Default IP - if not otherwise set, don't breathe garbage */
-static struct in_addr __ourip = { 0x00000000 };
+static struct in_addr __ourip = { .s_addr = 0x00000000, };
struct my_ifreq {
char ifrn_name[IFNAMSIZ]; /* Interface name, e.g. "eth0", "ppp0", etc. */