Skip to content

Commit

Permalink
Highlight module usage in iptables
Browse files Browse the repository at this point in the history
  • Loading branch information
cmur2 committed Jun 22, 2013
1 parent 9a749a9 commit a2248b1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions iptables.jsf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
=Table bold
=Policy bold blue
=Option fg_310 # brown
=Module yellow

:line_start Idle
* rest noeat
Expand Down Expand Up @@ -82,6 +83,7 @@ done
"-" rule_flag_flag
"iojp" rule_iojp_pre
"sd" rule_sd_pre
"m" rule_m_pre

:rule_flag_flag Idle
* rule_flag_flag1 buffer
Expand Down Expand Up @@ -112,6 +114,15 @@ done
" " rule_option noeat
"\n" line_start

:rule_m_pre Idle
* rule_m noeat
" " rule_m_pre

:rule_m Module
* rule_m
" " rule_option noeat
"\n" line_start

:bad Bad
* bad
"\n" line_start

0 comments on commit a2248b1

Please sign in to comment.