Allows realms to work in "trusted" mode.
authoraland <aland>
Mon, 21 Aug 2000 17:44:01 +0000 (17:44 +0000)
committeraland <aland>
Mon, 21 Aug 2000 17:44:01 +0000 (17:44 +0000)
Patch from Kotrekhov Andrey <kota@at.com.ua>

src/main/conffile.c

index 41ee880..4bab9b3 100644 (file)
@@ -573,7 +573,7 @@ static int generate_realms(const char *filename)
                        if ((cf_section_value_find(cs, "noacct")) != NULL)
                                c->acct_port = 0;
                        if ((cf_section_value_find(cs, "trusted")) != NULL)
-                               c->acct_port = 0;
+                               c->trusted = 0;
 
                        c->next = realms;
                        realms = c;