diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2016-06-02 08:28:15 -0300 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 09:31:15 -0400 | 
| commit | d3e2c74adaa2564775f2c60320213e28e329be50 (patch) | |
| tree | ef609154588b3a799911e990774f47975bf83f7d /lib/sockunion.h | |
| parent | be0dba358f7cd40ae27f012409734786a13d5ce4 (diff) | |
mpls: add support to the OpenBSD kernel
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/sockunion.h')
| -rw-r--r-- | lib/sockunion.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h index 105b11a24c..abad43122e 100644 --- a/lib/sockunion.h +++ b/lib/sockunion.h @@ -25,12 +25,18 @@  #include "privs.h"  #include "if.h" +#if defined HAVE_MPLS && defined __OpenBSD__ +#include <netmpls/mpls.h> +#endif  union sockunion   {    struct sockaddr sa;    struct sockaddr_in sin;    struct sockaddr_in6 sin6; +#if defined HAVE_MPLS && defined __OpenBSD__ +  struct sockaddr_mpls smpls; +#endif  };  enum connect_result  | 
