diff options
Diffstat (limited to 'main/acl.c')
-rw-r--r-- | main/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/acl.c b/main/acl.c index 6361b71d8..2c9e40086 100644 --- a/main/acl.c +++ b/main/acl.c @@ -127,9 +127,9 @@ static int get_local_address(struct ast_sockaddr *ourip) struct ifaddrs *ifap, *ifaphead; int rtnerr; const struct sockaddr_in *sin; + int best_score = -100; #endif /* BSD_OR_LINUX */ struct in_addr best_addr; - int best_score = -100; memset(&best_addr, 0, sizeof(best_addr)); #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__linux__) || defined(__Darwin__) || defined(__GLIBC__) |