From 1d21306785392e997099362fbc863b050fe359da Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Sat, 29 Apr 2017 00:36:35 +0200 Subject: Minor fixes --- sysdep/unix/krt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdep/unix') diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index c6ff6275..a1b10cea 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -1142,7 +1142,9 @@ krt_start(struct proto *P) { case NET_IP4: p->af = AF_INET; break; case NET_IP6: p->af = AF_INET6; break; +#ifdef AF_MPLS case NET_MPLS: p->af = AF_MPLS; break; +#endif default: log(L_ERR "KRT: Tried to start with strange net type: %d", p->p.net_type); return PS_START; break; } -- cgit v1.2.3