Re: [PATCH net-next v4 07/12] tools/net/ynl: Add support for netlink-raw families

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 23 Aug 2023 12:41:56 +0100 Donald Hunter wrote:
> +    def get_mcast_id(self, mcast_name, mcast_groups):
> +        if mcast_name not in mcast_groups:
> +            raise Exception(f'Multicast group "{mcast_name}" not present in the spec')
> +        return mcast_groups[mcast_name].value
> +

if you repost - missing extra empty line here

> +class GenlProtocol(NetlinkProtocol):
> +    def __init__(self, family_name):



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux