Skip to content
Extraits de code Groupes Projets
Valider a5005bce rédigé par François De Keersmaeker's avatar François De Keersmaeker
Parcourir les fichiers

Small update

parent baaf4b68
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -75,15 +75,6 @@ class Protocol:
"""
Add a new nftables rule to the nftables rules accumulator.
:param field: Field to add the rule for.
:param template_rules: Dictionary containing the protocol-specific rules to add.
:param is_backward (optional): Whether the field to add is for a backward rule.
Optional, default is `False`.
:param func (optional): Function to apply to the field value before writing it.
Optional, default is the identity function.
:param backward_func (optional): a to apply to the field value in the case of a backwards rule.
Will be applied after the forward function.
Optional, default is the identity function.
Args:
field (str): Field to add the rule for.
rules (dict): Dictionary containing the protocol-specific rules to add.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter