diff options
author | Maria Jan Matejka <mq@jmq.cz> | 2017-09-25 13:00:05 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-10 18:30:00 +0100 |
commit | 6b0f5f68a8ae35b05abb144cf998bf537dfa283b (patch) | |
tree | bf574113827de47f71b85fd273ea1aa2630a5db8 /sysdep/unix | |
parent | 67a2eb9177fe0b8a6854775a4fad1f7768f6a94a (diff) |
Switchoff for MPLS in kernel.
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/krt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index 052f210a..29d2d01e 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -1211,7 +1211,11 @@ struct protocol proto_unix_kernel = { .template = "kernel%d", .attr_class = EAP_KRT, .preference = DEF_PREF_INHERITED, +#ifdef HAVE_MPLS_KERNEL .channel_mask = NB_IP | NB_MPLS, +#else + .channel_mask = NB_IP, +#endif .proto_size = sizeof(struct krt_proto), .config_size = sizeof(struct krt_config), .preconfig = krt_preconfig, |