3 @@ -667,7 +667,7 @@ static void mainloop(int argc, char **ar
4 * there is no need to concern about the physical/link layer header because it is
5 * filled in automatically (based on the contents of sa).
7 - if ((nrsent = sendto(cur_ifsnr[j].sock_nr, ipp_p, rlen, MSG_DONTWAIT|MSG_TRYHARD, (struct sockaddr *)&sa, salen)) < 0)
8 + if ((nrsent = sendto(cur_ifsnr[j].sock_nr, ipp_p, rlen, MSG_DONTWAIT|MSG_DONTROUTE, (struct sockaddr *)&sa, salen)) < 0)
10 if (errno == ENETDOWN) {
11 syslog(LOG_NOTICE, "ignored ENETDOWN from sendto(), a network interface was going down?");
16 #include "our_syslog.h"
23 void strlcpy(char *dst, const char *src, size_t size)
25 strncpy(dst, src, size - 1);
29 +#ifndef _NET_PPP_DEFS_H
30 +#define _NET_PPP_DEFS_H 1
32 +#define __need_time_t
35 +#include <asm/types.h>
36 +#include <linux/ppp_defs.h>
38 +#endif /* net/ppp_defs.h */