mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-30 08:32:26 +00:00
Fix serialization of MAC
This commit is contained in:
parent
f5267eae6c
commit
3590e1ed51
1 changed files with 1 additions and 0 deletions
|
@ -465,6 +465,7 @@ class WhitelistSerializer(NamespacedHMSerializer):
|
|||
class HostMacIpSerializer(serializers.ModelSerializer):
|
||||
hostname = serializers.CharField(source='domain.name', read_only=True)
|
||||
extension = serializers.CharField(source='domain.extension.name', read_only=True)
|
||||
mac_address = serializers.CharField(read_only=True)
|
||||
ipv4 = serializers.CharField(source='ipv4.ipv4', read_only=True)
|
||||
|
||||
class Meta:
|
||||
|
|
Loading…
Reference in a new issue