Revision 517d05df sysdep/bsd/krt-sock.c

View differences:

sysdep/bsd/krt-sock.c
33 33
#include "lib/string.h"
34 34
#include "lib/socket.h"
35 35

  
36
const int rt_default_ecmp = 0;
36 37

  
37 38
/*
38 39
 * There are significant differences in multiple tables support between BSD variants.
......
145 146
{
146 147
  rta *a = e->attrs;
147 148

  
148
  /* XXXX device routes are broken */
149 149
  return
150
    ((a->dest == RTD_UNICAST && ipa_nonzero(a->nh.gw) && !a->nh.next) /* No multipath support */
150
    ((a->dest == RTD_UNICAST && !a->nh.next) /* No multipath support */
151 151
#ifdef RTF_REJECT
152 152
     || a->dest == RTD_UNREACHABLE
153 153
#endif

Also available in: Unified diff