projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd238c7
)
Allow old-style dictionary formats, too
author
Alan T. DeKok
<aland@freeradius.org>
Wed, 30 Sep 2009 07:54:25 +0000
(09:54 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Wed, 30 Sep 2009 07:54:50 +0000
(09:54 +0200)
src/lib/dict.c
patch
|
blob
|
history
diff --git
a/src/lib/dict.c
b/src/lib/dict.c
index
3fa2f0d
..
1f6c72e
100644
(file)
--- 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);