]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set home->proto for servers read from config files
authorAlan T. DeKok <aland@freeradius.org>
Fri, 14 Aug 2015 19:59:52 +0000 (21:59 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 14 Aug 2015 20:00:08 +0000 (22:00 +0200)
src/main/realms.c

index e58e78e7074ffcc95dc7374a7f719d5459e34636..0a657288a6417d220686e33b2bb02d914af71ba9 100644 (file)
@@ -578,6 +578,7 @@ home_server_t *home_server_afrom_cs(TALLOC_CTX *ctx, realm_config_t *rc, CONF_SE
        home->log_name = talloc_typed_strdup(home, home->name);
        home->cs = cs;
        home->state = HOME_STATE_UNKNOWN;
+       home->proto = IPPROTO_UDP;
 
        /*
         *      Parse the configuration into the home server