Commit 1adc241f authored by Donald Hunter's avatar Donald Hunter Committed by Jakub Kicinski
Browse files

ynl: fix schema check errors



Fix two schema check errors that have lurked since the attribute name
validation was made more strict:

not ok 2 conntrack.yaml schema validation
'labels mask' does not match '^[0-9a-z-]+$'

not ok 13 nftables.yaml schema validation
'set id' does not match '^[0-9a-z-]+$'

Signed-off-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20251127123502.89142-5-donald.hunter@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent acce9d72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -457,7 +457,7 @@ attribute-sets:
        name: labels
        type: binary
      -
        name: labels mask
        name: labels-mask
        type: binary
      -
        name: synproxy
+1 −1
Original line number Diff line number Diff line
@@ -915,7 +915,7 @@ attribute-sets:
        type: string
        doc: Name of set to use
      -
        name: set id
        name: set-id
        type: u32
        byte-order: big-endian
        doc: ID of set to use