From: Alan T. DeKok Date: Wed, 30 Sep 2009 07:54:25 +0000 (+0200) Subject: Allow old-style dictionary formats, too X-Git-Tag: release_3_0_0_beta0~1720 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=286abd156c04eb93a68685026f279e2d39358a49;p=thirdparty%2Ffreeradius-server.git Allow old-style dictionary formats, too --- diff --git a/src/lib/dict.c b/src/lib/dict.c index 3fa2f0da8f9..1f6c72e7ce0 100644 --- a/src/lib/dict.c +++ b/src/lib/dict.c @@ -921,7 +921,15 @@ static int process_attribute(const char* fn, const int line, fn, line); return -1; } - + + /* + * The only thing is the vendor name, + * and it's a known name: allow it. + */ + } else if ((key == argv[3]) && !next && !block_vendor && + ((vendor = dict_vendorbyname(key)) !=0)) { + break; + } else { fr_strerror_printf( "dict_init: %s[%d]: unknown option \"%s\"", fn, line, key);