]> granicus.if.org Git - libnl/commitdiff
vxlan: restore previous VXLAN_ATTR flag values
authorThomas Haller <thaller@redhat.com>
Sat, 5 Nov 2016 15:41:20 +0000 (16:41 +0100)
committerThomas Haller <thaller@redhat.com>
Sat, 5 Nov 2016 16:05:40 +0000 (17:05 +0100)
The VXLAN_ATTR flags are internal and not public API.
Still, they are exposed as part of nl_object_diff().
There is no reason to change previous behavior, restore
the previous numeric values.

lib/route/link/vxlan.c

index b7551d773ef8ff09af481b4d3048b77ba4a0cd1f..a92471e24f9e302ac4fd423b2f6acd828d4e45f1 100644 (file)
@@ -48,9 +48,9 @@
 #define VXLAN_ATTR_RSC                 (1<<11)
 #define VXLAN_ATTR_L2MISS              (1<<12)
 #define VXLAN_ATTR_L3MISS              (1<<13)
-#define VXLAN_ATTR_PORT                (1<<14)
-#define VXLAN_ATTR_GROUP6              (1<<15)
-#define VXLAN_ATTR_LOCAL6              (1<<16)
+#define VXLAN_ATTR_GROUP6              (1<<14)
+#define VXLAN_ATTR_LOCAL6              (1<<15)
+#define VXLAN_ATTR_PORT                (1<<16)
 #define VXLAN_ATTR_UDP_CSUM            (1<<17)
 #define VXLAN_ATTR_UDP_ZERO_CSUM6_TX   (1<<18)
 #define VXLAN_ATTR_UDP_ZERO_CSUM6_RX   (1<<19)