From: Alan T. DeKok Date: Tue, 20 Sep 2011 08:31:05 +0000 (+0200) Subject: Ensure src_ipaddr is initialized when finding a home server X-Git-Tag: release_3_0_0_beta0~629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b14d3ef19850551ac7d913542c286eed0b1487a1;p=thirdparty%2Ffreeradius-server.git Ensure src_ipaddr is initialized when finding a home server Fix left over from 12d87590f7b03f315f14d9b905ed550ddceccf7c --- diff --git a/src/main/realms.c b/src/main/realms.c index e0f0b02c8fc..a5e103249a1 100644 --- a/src/main/realms.c +++ b/src/main/realms.c @@ -2412,6 +2412,7 @@ home_server *home_server_find(fr_ipaddr_t *ipaddr, int port, int proto) memset(&myhome, 0, sizeof(myhome)); myhome.ipaddr = *ipaddr; + myhome.src_ipaddr.af = ipaddr->af; myhome.port = port; #ifdef WITH_TCP myhome.proto = proto;