]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix the flow6 label description and example
authorDavid Petera <david.petera@nic.cz>
Fri, 10 Jan 2025 12:16:34 +0000 (13:16 +0100)
committerOndřej Zajíček <santiago@crfreenet.org>
Thu, 30 Jan 2025 14:56:31 +0000 (15:56 +0100)
doc/bird.sgml

index 2d3053a46b8a153eaa6e33b785fd952044a71332..6d130539eca046a07410c9db6db432dc1508f050 100644 (file)
@@ -6276,9 +6276,9 @@ protocol static {
        <tag><label id="flow6-next-header">next header <m/numbers-match/</tag>
        Set a matching IP protocol numbers (e.g. <cf>next header != 6</cf>).
 
-       <tag><label id="flow6-label">label <m/bitmask-match/</tag>
-       Set a 20-bit bitmask for matching Flow Label field in IPv6 packets
-       (e.g. <cf>label 0x8e5/0x8e5</cf>).
+       <tag><label id="flow6-label">label <m/numbers-match/</tag>
+       Set numbers for matching the 20-bit Flow Label field in IPv6 packets
+       (e.g. <cf>label != 1234</cf>).
 </descrip>
 
 <p><code>
@@ -6293,7 +6293,7 @@ protocol static {
                dport = 50;
                tcp flags 0x03/0x0f && !0/0xff || 0x33/0x33;
                fragment !is_fragment || !first_fragment;
-               label 0xaaaa/0xaaaa && 0x33/0x33;
+               label > 1111 && != 1234;
        };
 }
 </code>