]> git.ozlabs.org Git - ppp.git/commitdiff
This is main.c from ppp-2.3.11.tar.gz distribution to fix compilation errors.
authorAdi Masputra <adi.masputra@sun.com>
Tue, 18 Jan 2000 19:49:52 +0000 (19:49 +0000)
committerAdi Masputra <adi.masputra@sun.com>
Tue, 18 Jan 2000 19:49:52 +0000 (19:49 +0000)
pppd/main.c

index 3a8277b6ab59a048a5c708165797fbc785da9e13..954fc2b6b977df84133bee29ffa5125095af7011 100644 (file)
@@ -17,7 +17,7 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define RCSID  "$Id: main.c,v 1.88 1999/12/23 01:28:27 paulus Exp $"
+#define RCSID  "$Id: main.c,v 1.89 2000/01/18 19:49:52 masputra Exp $"
 
 #include <stdio.h>
 #include <ctype.h>
 
 #include <stdio.h>
 #include <ctype.h>
@@ -94,6 +94,7 @@ volatile int status;          /* exit status for pppd */
 int unsuccess;                 /* # unsuccessful connection attempts */
 int do_callback;               /* != 0 if we should do callback next */
 int doing_callback;            /* != 0 if we are doing callback */
 int unsuccess;                 /* # unsuccessful connection attempts */
 int do_callback;               /* != 0 if we should do callback next */
 int doing_callback;            /* != 0 if we are doing callback */
+char *callback_script;         /* script for doing callback */
 
 int (*holdoff_hook) __P((void)) = NULL;
 int (*new_phase_hook) __P((int)) = NULL;
 
 int (*holdoff_hook) __P((void)) = NULL;
 int (*new_phase_hook) __P((int)) = NULL;
@@ -222,7 +223,7 @@ main(argc, argv)
 {
     int i, fdflags, t;
     struct sigaction sa;
 {
     int i, fdflags, t;
     struct sigaction sa;
-    char *p;
+    char *p, *connector;
     struct passwd *pw;
     struct timeval timo;
     sigset_t mask;
     struct passwd *pw;
     struct timeval timo;
     sigset_t mask;