]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
sort udp_source_port_avoid list
authorzhaojs <604381586@qq.com>
Thu, 12 Dec 2024 11:04:16 +0000 (19:04 +0800)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 13 Dec 2024 08:52:09 +0000 (09:52 +0100)
pdns/recursordist/settings/table.py

index a94ecc5dbf60a3cd97493447fd795267ad7387ec..f877cbaedbfa9f6a3e55bf48aa7678f0732edc0e 100644 (file)
@@ -2981,11 +2981,11 @@ See :ref:`setting-udp-source-port-min`.
         'name' : 'udp_source_port_avoid',
         'section' : 'outgoing',
         'type' : LType.ListStrings,
-        'default' : '11211,4791',
-        'help' : 'List of comma separated UDP port number to avoid',
+        'default' : '4791,11211',
+        'help' : 'List of comma separated UDP port numbers to avoid',
         'doc' : '''
 A list of comma-separated UDP port numbers to avoid when binding.
-Ex: `5300,11211,4791`
+Ex: `4791,5300,11211`
 
 See :ref:`setting-udp-source-port-min`.
  ''',
@@ -2996,9 +2996,9 @@ A sequence of UDP port numbers to avoid when binding. For example:
 
  outgoing:
    udp_source_port_avoid:
+   - 4791
    - 5300
    - 11211
-   - 4791
 
 See :ref:`setting-udp-source-port-min`.
  ''',