summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2020-01-28 05:42:17 +0300
committerDmitry Kozlov <xeb@mail.ru>2020-01-28 05:42:17 +0300
commitc0daaf1597bf88d425149e7e2207e3c29b32d5c8 (patch)
tree92ef1bfa7168ef3d0d109c5612ee328eea0e9a1a /drivers
parent9508266608ad4bf4dd4a8ff8675849040fa82e39 (diff)
downloadaccel-ppp-xebd-c0daaf1597bf88d425149e7e2207e3c29b32d5c8.tar.gz
accel-ppp-xebd-c0daaf1597bf88d425149e7e2207e3c29b32d5c8.zip
ipoe_mod: set type of IPOE_ATTR_HWADDR to NLA_BINARY
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c
index 6ac6d77..32c9a52 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, },
};