2 Dec
2010
2 Dec
'10
9:42 a.m.
On Thu, Dec 02, 2010 at 02:32:16PM +0000, Brian Candler wrote:
I wonder if this logic is unintentionally broken, and in fact you meant to load the dictionary *unless* -F is present?
This appears to fix it. diff --git a/src/main/radsniff.c b/src/main/radsniff.c index 935d2ce..6c3ca14 100644 --- a/src/main/radsniff.c +++ b/src/main/radsniff.c @@ -422,7 +422,7 @@ int main(int argc, char *argv[]) /* * There are many times where we don't need the dictionaries. */ - if (fr_debug_flag || radius_filter) { + if (fr_debug_flag || !radius_filter) { if (dict_init(radius_dir, RADIUS_DICTIONARY) < 0) { fr_perror("radsniff"); return 1;