• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptpd/pptpd-1.3.3/

Lines Matching refs:syslog

47 // 5) Enhanced the (syslog) debugging capabilities. By default bcrelay will
48 // show what it is doing. Bcrelay will syslog the IP interfaces it tries
50 // the 'active interfaces', bcrelay will syslog the initial set of active
54 // syslog a successfully relayed UDP broadcast, including the UDP port numbers,
56 // relayed. The (new) -n option allows to suppress syslog tracing.
239 printf("\nLog messages and debugging go to syslog as DAEMON.\n\n");
279 syslog(LOG_DEBUG, "Option parse OK, re-execing as daemon");
283 syslog(LOG_ERR, "Setsid failed!");
292 syslog(LOG_DEBUG, "Success re-execing as daemon!");
295 syslog(LOG_ERR, "Error vforking");
300 if (pid<0) { syslog(LOG_ERR, "Error forking"); _exit(1); }
301 if (pid>0) { syslog(LOG_DEBUG, "Parent exits"); _exit(0); }
302 if (pid==0) { syslog(LOG_DEBUG, "Running as child"); }
305 syslog(LOG_ERR, "Setsid failed!");
327 /* open a connection to the syslog daemon */
372 syslog(LOG_INFO,"Bad syntax: %s", ipsec);
389 syslog(LOG_INFO,"Incoming interface required!");
394 syslog(LOG_INFO,"Listen-mode or outgoing or IPsec interface required!");
418 syslog(LOG_INFO, "Running as child\n");
451 syslog(LOG_ERR, "mainloop: Error, socket error! (rv=%d, errno=%d)", cur_ifsnr[i].sock_nr, errno);
471 if (vnologging == 0) syslog(LOG_INFO, "%s", log_interfaces);
499 syslog(LOG_ERR, "Error, select error! (rv=%d, errno=%d)", rcg, errno);
521 syslog(LOG_ERR, "mainloop: Error, socket error! (rv=%d, errno=%d)", cur_ifsnr[i].sock_nr, errno);
565 if (vnologging == 0) syslog(LOG_INFO, "%s", log_interfaces);
665 syslog(LOG_NOTICE, "ignored ENETDOWN from sendto(), a network interface was going down?");
667 syslog(LOG_NOTICE, "ignored ENXIO from sendto(), a network interface went down?");
669 syslog(LOG_NOTICE, "ignored ENOBUFS from sendto(), temporary shortage of buffer memory");
671 syslog(LOG_ERR, "mainloop: Error, sendto failed! (rv=%d, errno=%d)", nrsent, errno);
682 if (vnologging == 0) syslog(LOG_INFO, "%s", log_relayed);
712 syslog(LOG_ERR, "mainloop: Error, socket error! (rv=%d, errno=%d)", cur_ifsnr[i].sock_nr, errno);
756 if (vnologging == 0) syslog(LOG_INFO, "%s", log_interfaces);
788 syslog(LOG_INFO,"bcrelay: Error creating socket");
808 syslog(LOG_ERR, "discoverActiveInterfaces: Error, SIOCGIFFLAGS Failed! (errno=%d)", errno);
836 syslog(LOG_ERR, "discoverActiveInterfaces: Error, SIOCGIFADDR Failed! (errno=%d)", errno);
852 syslog(LOG_ERR, "discoverActiveInterfaces: Error, SIOCGIFDSTADDR Failed! (errno=%d)", errno);
1023 syslog(LOG_ERR, "bind_to_iface: Error, bind failed! (rv=-1, errno=%d)", errno);