system-common-macros: Add macro to check for L3 GRE support
@@ -288,7 +288,12 @@ m4_define([OVS_CHECK_VXLAN_GPE],
# OVS_CHECK_GRE()
m4_define([OVS_CHECK_GRE],
- [AT_SKIP_IF([! ip link add foo type gretap help 2>&1 | grep gre >/dev/null])
+ [AT_SKIP_IF([! ip link add foo type gretap help 2>&1 | grep gretap >/dev/null])
+ OVS_CHECK_FIREWALL()])
+
+# OVS_CHECK_GRE_L3()
+m4_define([OVS_CHECK_GRE_L3],
+ [AT_SKIP_IF([! ip link add foo type gre help 2>&1 | grep "gre " >/dev/null])
OVS_CHECK_FIREWALL()])
# OVS_CHECK_GENEVE()
