]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-solaris.c
__linux__ (already defined by compiler) not _linux_ (manually defined)
[ppp.git] / pppd / sys-solaris.c
index fed68f50f8213b167583fe7ff8e013df2093361a..f97b82bbc369247f7df05f2d31ea180d9a6d43dc 100644 (file)
  * OR MODIFICATIONS.
  */
 
-#define RCSID  "$Id: sys-solaris.c,v 1.6 2001/05/23 03:39:13 paulus Exp $"
+#define RCSID  "$Id: sys-solaris.c,v 1.8 2002/09/07 05:15:25 carlsonj Exp $"
 
 #include <limits.h>
 #include <stdio.h>
 #include <stddef.h>
 #include <stdlib.h>
+#include <string.h>
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -1293,6 +1294,7 @@ output(unit, p, len)
     struct pollfd pfd;
 
     dump_packet("sent", p, len);
+    if (snoop_send_hook) snoop_send_hook(p, len);
 
     data.len = len;
     data.buf = (caddr_t) p;