For most of our kernel module we support back to 2.6.18 but we only work with 2.6.26 or newer for CAPWAP. On later kernels support for CAPWAP silently disappears. In these situations, emit a warning so that people aren't suprised when their tunnels fail.
Signed-off-by: Jesse Gross <[email protected]> --- datapath/vport-capwap.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/datapath/vport-capwap.c b/datapath/vport-capwap.c index e2cf400..c3250de 100644 --- a/datapath/vport-capwap.c +++ b/datapath/vport-capwap.c @@ -664,5 +664,6 @@ const struct vport_ops capwap_vport_ops = { .get_operstate = vport_gen_get_operstate, .send = tnl_send, }; - +#else +#warning CAPWAP tunneling will not be available on kernels before 2.6.26 #endif /* Linux kernel >= 2.6.26 */ -- 1.7.4.1 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
