Skip to content

Commit d3839b8

Browse files
kuba-mooNipaLocal
authored and
NipaLocal
committed
netlink: specs: fix schema of rt_addr
The spec is mis-formatted, schema validation says: Failed validating 'type' in schema['properties']['operations']['properties']['list']['items']['properties']['dump']['properties']['request']['properties']['value']: {'minimum': 0, 'type': 'integer'} On instance['operations']['list'][3]['dump']['request']['value']: '58 - ifa-family' The ifa-family clearly wants to be part of an attribute list. Fixes: dfb0f7d ("doc/netlink: Add spec for rt addr messages") Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Yuyang Huang <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent 6bb04fd commit d3839b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/netlink/specs/rt_addr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ operations:
187187
dump:
188188
request:
189189
value: 58
190+
attributes:
190191
- ifa-family
191192
reply:
192193
value: 58

0 commit comments

Comments
 (0)