diff options
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 73a1a3f1..4eec92f5 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -276,6 +276,15 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr}) "group" { return GROUP; } "snaplen" { return SNAPLEN; } "queue-threshold" { return QUEUE_THRESHOLD; } +"level" { return LEVEL; } +"emerg" { return LEVEL_EMERG; } +"alert" { return LEVEL_ALERT; } +"crit" { return LEVEL_CRIT; } +"err" { return LEVEL_ERR; } +"warn" { return LEVEL_WARN; } +"notice" { return LEVEL_NOTICE; } +"info" { return LEVEL_INFO; } +"debug" { return LEVEL_DEBUG; } "queue" { return QUEUE;} "num" { return QUEUENUM;} |