[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnu-radius] Bug in handling of logging of internal attributes
From: |
Maurice Makaay |
Subject: |
[Bug-gnu-radius] Bug in handling of logging of internal attributes |
Date: |
Mon, 3 Nov 2003 15:53:43 +0100 |
Hi,
There's a problem in lib/dict.c, which causes the "l" dictionary flag
to fail. AP_INTERNAL is set as an attr->flag and the "l" option will unset
the AP_INTERNAL bit on attr->prop. Therefore one can never mark attribute
logging for non-internal attributes. Here's a fix for this:
diff -u -r1.18 dict.c
--- lib/dict.c 1 Nov 2003 13:45:17 -0000 1.18
+++ lib/dict.c 3 Nov 2003 14:40:57 -0000
@@ -327,7 +327,7 @@
prop |= AP_PROPAGATE;
break;
case 'l':
- prop &= ~AP_INTERNAL;
+ flags &= ~AP_INTERNAL;
break;
case '1':
case '2':
Regards,
-- Maurice Makaay
- [Bug-gnu-radius] Bug in handling of logging of internal attributes,
Maurice Makaay <=