git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copy attributes in addition of internal tags.
[sfa.git]
/
sfatables
/
commands
/
SetDefault.py
diff --git
a/sfatables/commands/SetDefault.py
b/sfatables/commands/SetDefault.py
index
063caab
..
b840706
100644
(file)
--- a/
sfatables/commands/SetDefault.py
+++ b/
sfatables/commands/SetDefault.py
@@
-1,9
+1,10
@@
import os, time
import os, time
+from sfatables.command import Command
-class
Command
:
- options = []
- help = ''
- key=''
+class
SetDefault(Command)
:
+ options = [
('-P','--default')
]
+ help = '
Set the default rule for a chain
'
+ key='
set_default_rule
'
matches = False
targets = False
matches = False
targets = False