diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-01-11 10:14:24 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-01-11 10:14:24 +0000 |
commit | 9895a8eaa4b29c33472a9ad34df0356c8d83cac2 (patch) | |
tree | ee25855c4745bf8c6dd330266125477852acb1ae /extensions/ebt_log.c | |
parent | c27432e31d541a3ae18c04bbd9a40da4aaae5195 (diff) | |
download | ebtables-9895a8eaa4b29c33472a9ad34df0356c8d83cac2.tar.gz |
cosmetic changes
Diffstat (limited to 'extensions/ebt_log.c')
-rw-r--r-- | extensions/ebt_log.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/extensions/ebt_log.c b/extensions/ebt_log.c index c9461b5..3c2409f 100644 --- a/extensions/ebt_log.c +++ b/extensions/ebt_log.c @@ -5,16 +5,18 @@ #include "../include/ebtables_u.h" #include <linux/netfilter_bridge/ebt_log.h> -// copied from syslog.h -// used for the LOG target -#define LOG_EMERG 0 // system is unusable -#define LOG_ALERT 1 // action must be taken immediately -#define LOG_CRIT 2 // critical conditions -#define LOG_ERR 3 // error conditions -#define LOG_WARNING 4 // warning conditions -#define LOG_NOTICE 5 // normal but significant condition -#define LOG_INFO 6 // informational -#define LOG_DEBUG 7 // debug-level messages +/* + * copied from syslog.h + * used for the LOG target + */ +#define LOG_EMERG 0 /* system is unusable */ +#define LOG_ALERT 1 /* action must be taken immediately */ +#define LOG_CRIT 2 /* critical conditions */ +#define LOG_ERR 3 /* error conditions */ +#define LOG_WARNING 4 /* warning conditions */ +#define LOG_NOTICE 5 /* normal but significant condition */ +#define LOG_INFO 6 /* informational */ +#define LOG_DEBUG 7 /* debug-level messages */ #define LOG_DEFAULT_LEVEL LOG_INFO @@ -41,7 +43,7 @@ static int name_to_loglevel(char* arg) for (i = 0; i < 8; i++) if (!strcmp(arg, eight_priority[i].c_name)) return eight_priority[i].c_val; - // return bad loglevel + /* return bad loglevel */ return 9; } |