Commit 7b4434a8 authored by Alessandro Marcolini's avatar Alessandro Marcolini Committed by Jakub Kicinski
Browse files

tools: ynl: correct typo and docstring

parent 6cc9c6fb
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ class SpecEnumSet(SpecElement):


class SpecAttr(SpecElement):
    """ Single Netlink atttribute type
    """ Single Netlink attribute type

    Represents a single attribute type within an attr space.

@@ -308,10 +308,9 @@ class SpecSubMessage(SpecElement):


class SpecSubMessageFormat(SpecElement):
    """ Netlink sub-message definition
    """ Netlink sub-message format definition

    Represents a set of sub-message formats for polymorphic nlattrs
    that contain type-specific sub messages.
    Represents a single format for a sub-message.

    Attributes:
        value         attribute value to match against type selector