Skip to content
Permalink
Browse files

Don't assert when type is omitted for a home_server (or type is auth+…

…acct)
  • Loading branch information...
arr2036 committed Sep 19, 2017
1 parent 06e375e commit 6135dac3393a1ea8821e74212506386537907fda
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/realms.c
@@ -868,6 +868,11 @@ home_server_t *home_server_afrom_cs(TALLOC_CTX *ctx, realm_config_t *rc, CONF_SE
rad_assert(0);
/* FALL-THROUGH */

/*
* One is added to get the accounting port
* for home->dual.
*/
case HOME_TYPE_AUTH_ACCT:
case HOME_TYPE_AUTH:
home->port = PW_AUTH_UDP_PORT;
break;

0 comments on commit 6135dac

Please sign in to comment.
You can’t perform that action at this time.