X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fcommands%2FSetDefault.py;h=b840706bb64c14638c170d34792f53798c6b8656;hb=87121ca63d2b95bb155ea2adc5fd7c61d5cddcbe;hp=8fac405f2af62a93abe1cea1fb076825f014adac;hpb=f5194b0cf1858313770d6796411fec30190b5522;p=sfa.git diff --git a/sfatables/commands/SetDefault.py b/sfatables/commands/SetDefault.py index 8fac405f..b840706b 100644 --- a/sfatables/commands/SetDefault.py +++ b/sfatables/commands/SetDefault.py @@ -1,10 +1,10 @@ import os, time -from sfa.sfatables.command import Add +from sfatables.command import Command class SetDefault(Command): options = [('-P','--default')] help = 'Set the default rule for a chain' - key='add_rule' + key='set_default_rule' matches = False targets = False