diff options
author | Gioacchino Mazzurco <gmazzurco89@gmail.com> | 2014-05-28 22:44:21 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-28 23:30:16 +0200 |
commit | 247f42d1907dbb16033dcb9a28548c4591af9d67 (patch) | |
tree | c0241fd9186a364948ab11654ff243382820c569 /macvlan.c | |
parent | 3d42c9150e65799fa61778a1bfc1dda060dff847 (diff) |
macvlan: fix missing reference to device_attr_list
At moment macvlan devices ignore options inherited as device like mtu.
Thanks to suggestions provided by Felix i have done this patch that fix this
iussue by adding the missing reference to device_attr_list in
macvlan_attr_list
Signed-off-by: Gioacchino Mazzurco <gmazzurco89@gmail.com>
Diffstat (limited to 'macvlan.c')
-rw-r--r-- | macvlan.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ static const struct blobmsg_policy macvlan_attrs[__MACVLAN_ATTR_MAX] = { static const struct uci_blob_param_list macvlan_attr_list = { .n_params = __MACVLAN_ATTR_MAX, .params = macvlan_attrs, + + .n_next = 1, + .next = { &device_attr_list }, }; struct macvlan_device { |