Selaa lähdekoodia

Closes #8766: Add SCTP to service protocols list

jeremystretch 4 vuotta sitten
vanhempi
commit
df430394b0
2 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 1 0
      docs/release-notes/version-3.1.md
  2. 2 0
      netbox/ipam/choices.py

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

@@ -6,6 +6,7 @@
 
 
 * [#8594](https://github.com/netbox-community/netbox/issues/8594) - Enable filtering by exact description match for all applicable models
 * [#8594](https://github.com/netbox-community/netbox/issues/8594) - Enable filtering by exact description match for all applicable models
 * [#8629](https://github.com/netbox-community/netbox/issues/8629) - Add description to tag table search function
 * [#8629](https://github.com/netbox-community/netbox/issues/8629) - Add description to tag table search function
+* [#8766](https://github.com/netbox-community/netbox/issues/8766) - Add SCTP to service protocols list
 
 
 ### Bug Fixes
 ### Bug Fixes
 
 

+ 2 - 0
netbox/ipam/choices.py

@@ -189,8 +189,10 @@ class ServiceProtocolChoices(ChoiceSet):
 
 
     PROTOCOL_TCP = 'tcp'
     PROTOCOL_TCP = 'tcp'
     PROTOCOL_UDP = 'udp'
     PROTOCOL_UDP = 'udp'
+    PROTOCOL_SCTP = 'sctp'
 
 
     CHOICES = (
     CHOICES = (
         (PROTOCOL_TCP, 'TCP'),
         (PROTOCOL_TCP, 'TCP'),
         (PROTOCOL_UDP, 'UDP'),
         (PROTOCOL_UDP, 'UDP'),
+        (PROTOCOL_SCTP, 'SCTP'),
     )
     )