mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Affichage intelligent des ports ouverts dans la serialisation
This commit is contained in:
parent
63748168f2
commit
cd7cf1cac4
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ class LocalEmailUsersSerializer(NamespacedHMSerializer):
|
|||
class FirewallPortListSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = machines.OuverturePort
|
||||
fields = ('begin', 'end', 'protocole', 'io')
|
||||
fields = ('begin', 'end', 'protocole', 'io', 'show_port')
|
||||
|
||||
class FirewallOuverturePortListSerializer(serializers.ModelSerializer):
|
||||
tcp_ports_in = FirewallPortListSerializer(many=True, read_only=True)
|
||||
|
|
Loading…
Reference in a new issue