Initialize proto for old-style realms
authorAlan T. DeKok <aland@freeradius.org>
Tue, 20 Oct 2009 13:03:20 +0000 (15:03 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 20 Oct 2009 13:03:20 +0000 (15:03 +0200)
src/main/realms.c

index a92a1e6..b3be96d 100644 (file)
@@ -1125,6 +1125,7 @@ static int old_server_add(realm_config_t *rc, CONF_SECTION *cs,
                home->type = type;
                home->secret = secret;
                home->cs = cs;
+               home->proto = IPPROTO_UDP;
 
                p = strchr(name, ':');
                if (!p) {