Fix "Invalid mode found: AUDITING" in aa-logprof. Actually the fix is

done in logparser.py which contained "AUDITING" instead of "AUDIT" at
one place.

References: https://bugs.launchpad.net/apparmor/+bug/1358705


Acked-by: Steve Beattie <steve@nxnw.org>
This commit is contained in:
Christian Boltz 2014-08-21 00:55:44 +02:00
parent 427258d07a
commit 5006abbbb2

View file

@ -151,7 +151,7 @@ class ReadLog:
# Convert aamode values to their counter-parts
mode_convertor = {0: 'UNKNOWN',
1: 'ERROR',
2: 'AUDITING',
2: 'AUDIT',
3: 'PERMITTING',
4: 'REJECTING',
5: 'HINT',