Преглед изворни кода

Fixes #5042: Fix display of SLAAC label for IP addresses status

Jeremy Stretch пре 5 година
родитељ
комит
9147823305
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      docs/release-notes/version-2.9.md
  2. 1 0
      netbox/ipam/models.py

+ 1 - 0
docs/release-notes/version-2.9.md

@@ -6,6 +6,7 @@
 
 * [#5035](https://github.com/netbox-community/netbox/issues/5035) - Fix exception when modifying an IP address assigned to a VM
 * [#5038](https://github.com/netbox-community/netbox/issues/5038) - Fix validation of primary IPs assigned to virtual machines
+* [#5042](https://github.com/netbox-community/netbox/issues/5042) - Fix display of SLAAC label for IP addresses status
 
 ---
 

+ 1 - 0
netbox/ipam/models.py

@@ -669,6 +669,7 @@ class IPAddress(ChangeLoggedModel, CustomFieldModel):
         'reserved': 'info',
         'deprecated': 'danger',
         'dhcp': 'success',
+        'slaac': 'success',
     }
 
     ROLE_CLASS_MAP = {