ipgre: fix attribute IPGRE_ATTR_OKEY in ipgre_put_attrs()
Signed-off-by: Susant Sahani <susant@redhat.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
d715b8a5f6
commit
737d5f0247
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ static int ipgre_put_attrs(struct nl_msg *msg, struct rtnl_link *link)
|
|||
if (ipgre->ipgre_mask & IPGRE_ATTR_IKEY)
|
||||
NLA_PUT_U32(msg, IFLA_GRE_IKEY, ipgre->ikey);
|
||||
|
||||
if (ipgre->ipgre_mask & IFLA_GRE_OKEY)
|
||||
if (ipgre->ipgre_mask & IPGRE_ATTR_OKEY)
|
||||
NLA_PUT_U32(msg, IFLA_GRE_OKEY, ipgre->okey);
|
||||
|
||||
if (ipgre->ipgre_mask & IPGRE_ATTR_LOCAL)
|
||||
|
|
Loading…
Add table
Reference in a new issue