diff options
| -rw-r--r-- | lib/libtinyrad/lconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtinyrad/lconf.c b/lib/libtinyrad/lconf.c index d9990c9..b78ce7f 100644 --- a/lib/libtinyrad/lconf.c +++ b/lib/libtinyrad/lconf.c | |||
| @@ -386,8 +386,8 @@ tinyrad_conf_opt( | |||
| 386 | if ( (!(tr)) || ((tr->opts & TRAD_IPV6)) || ((tr->opts_neg & TRAD_IPV6)) ) | 386 | if ( (!(tr)) || ((tr->opts & TRAD_IPV6)) || ((tr->opts_neg & TRAD_IPV6)) ) |
| 387 | return(TRAD_SUCCESS); | 387 | return(TRAD_SUCCESS); |
| 388 | switch(i = ((value)) ? tinyrad_strtobool(value) : TRAD_YES) | 388 | switch(i = ((value)) ? tinyrad_strtobool(value) : TRAD_YES) |
| 389 | { case TRAD_NO: tinyrad_set_option(tr, TRAD_IPV6, &i); break; | 389 | { case TRAD_NO: tinyrad_set_option(tr, TRAD_OPT_IPV6, &i); break; |
| 390 | case TRAD_YES: tinyrad_set_option(tr, TRAD_IPV6, &i); break; | 390 | case TRAD_YES: tinyrad_set_option(tr, TRAD_OPT_IPV6, &i); break; |
| 391 | default: break; | 391 | default: break; |
| 392 | }; | 392 | }; |
| 393 | return(TRAD_SUCCESS); | 393 | return(TRAD_SUCCESS); |
