diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2015-11-11 18:16:34 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-11-19 15:14:06 (GMT) |
commit | a0b2710ed924d5107eae331643304e7364b1421e (patch) | |
tree | ca96e62c39ba469ab6f3d386e1569bc387e4c1ae /include | |
parent | 5f044aca765fa6620b389b50deee9cf49c1efe35 (diff) | |
download | libnl-a0b2710ed924d5107eae331643304e7364b1421e.zip libnl-a0b2710ed924d5107eae331643304e7364b1421e.tar.gz libnl-a0b2710ed924d5107eae331643304e7364b1421e.tar.bz2 |
route/link: fix parsing of 'remote' attribute for GRE links
Fixes: 57bdc4ff4895dd91cc723d22eecadcf48945e87c
http://lists.infradead.org/pipermail/libnl/2015-November/002004.html
Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
[thaller@redhat.com: add capability to indicate bug-fix]
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/netlink/utils.h b/include/netlink/utils.h index b073e88..ea853a8 100644 --- a/include/netlink/utils.h +++ b/include/netlink/utils.h @@ -171,6 +171,12 @@ enum { NL_CAPABILITY_RTNL_LINK_VLAN_PROTOCOL_SERIALZE = 12, #define NL_CAPABILITY_RTNL_LINK_VLAN_PROTOCOL_SERIALZE NL_CAPABILITY_RTNL_LINK_VLAN_PROTOCOL_SERIALZE + /** + * Properly read gre REMOTE port. + */ + NL_CAPABILITY_RTNL_LINK_PARSE_GRE_REMOTE = 13, +#define NL_CAPABILITY_RTNL_LINK_PARSE_GRE_REMOTE NL_CAPABILITY_RTNL_LINK_PARSE_GRE_REMOTE + __NL_CAPABILITY_MAX, NL_CAPABILITY_MAX = (__NL_CAPABILITY_MAX - 1), #define NL_CAPABILITY_MAX NL_CAPABILITY_MAX |