diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2020-01-28 05:42:17 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2020-01-28 05:42:17 +0300 |
commit | c0daaf1597bf88d425149e7e2207e3c29b32d5c8 (patch) | |
tree | 92ef1bfa7168ef3d0d109c5612ee328eea0e9a1a | |
parent | 9508266608ad4bf4dd4a8ff8675849040fa82e39 (diff) | |
download | accel-ppp-c0daaf1597bf88d425149e7e2207e3c29b32d5c8.tar.gz accel-ppp-c0daaf1597bf88d425149e7e2207e3c29b32d5c8.zip |
ipoe_mod: set type of IPOE_ATTR_HWADDR to NLA_BINARY
-rw-r--r-- | drivers/ipoe/ipoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 6ac6d77a..32c9a52f 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -1745,7 +1745,7 @@ static const struct nla_policy ipoe_nl_policy[IPOE_ATTR_MAX + 1] = { [IPOE_ATTR_MASK] = { .type = NLA_U32, }, [IPOE_ATTR_MODE] = { .type = NLA_U8, }, [IPOE_ATTR_GW_ADDR] = { .type = NLA_U32, }, - [IPOE_ATTR_HWADDR] = { .len = ETH_ALEN, }, + [IPOE_ATTR_HWADDR] = { .type = NLA_BINARY, .len = ETH_ALEN, }, [IPOE_ATTR_IFINDEX] = { .type = NLA_U32, }, [IPOE_ATTR_LINK_IFINDEX]= { .type = NLA_U32, }, }; |