diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-04-29 00:36:35 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-04-29 01:24:30 +0200 |
commit | 1d21306785392e997099362fbc863b050fe359da (patch) | |
tree | fcd3edf7e94c93e74a8b7be82933191ddbb44cb8 /sysdep/unix/krt.c | |
parent | e919601aaf29615edb2a231e58a358c2c5c9d286 (diff) |
Minor fixes
Diffstat (limited to 'sysdep/unix/krt.c')
-rw-r--r-- | sysdep/unix/krt.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |