Browse Source

Fix queryset for HostMacIpView

mac_vendor
Hugo LEVY-FALK 7 years ago
parent
commit
713b4b5c66
  1. 4
      api/views.py

4
api/views.py

@ -611,9 +611,11 @@ class HostMacIpView(generics.ListAPIView):
"""Exposes the associations between hostname, mac address and IPv4 in
order to build the DHCP lease files.
"""
queryset = all_active_interfaces()
serializer_class = serializers.HostMacIpSerializer
def get_queryset(self):
return all_active_interfaces()
# Firewall

Loading…
Cancel
Save